Luact - reactive user interfaces for Lua

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
Almia
Prole
Posts: 8
Joined: Mon Aug 05, 2013 7:56 am

Luact - reactive user interfaces for Lua

Post by Almia » Mon Sep 09, 2019 4:43 am

Luact is a renderer-agnostic UI library for Lua. Directly inspired from React and Flutter, Luact allows for building declarative, reactive user interfaces by means of functional components, alongside hooks (inspired from React) to allow states, component lifecycle access, as well as component side-effects.

The library was initially targeted for the LÖVE framework, but I decided that, since the UI can be represented with a tree, Luact can be easily used on top of any graphics library.

Luact already has pre-built components and hooks for LÖVE.

The project is still in a development but the renderer works as intended.

Repo: https://github.com/LXSMNSYC/luact/blob/master/main.lua

you can try running the repo's main.lua on LÖVE, as it is a demo, as well as replace the LineTest component inside the App component with the TwoBox component.

docs to be added soon.

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests