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.
Luact - reactive user interfaces for Lua
Who is online
Users browsing this forum: No registered users and 3 guests