neww
is a lightweight library for creating standalone widgets in Lua using GTK.
It enables developers to build interactive and declarative user interfaces,
similar to the React library in JavaScript.
It is inspired by eww
but aims to provide a more
readable and turing complete alternative.
- Declarative Syntax: Write UI components in a declarative way, making it easier to understand and maintain your code.
- Component-based Architecture: Organize your UI into reusable and composable components.
- React-like State Management: Manage component state efficiently using hooks.
- Luax JSX Syntax: Write your UI components using a JSX-like syntax called Luax, providing a more concise and expressive way to define UI elements.
- Standalone Widgets
Run one of the example under examples/
:
make example/bar
make tests
If you want to contribute to neww
to add a feature or improve the code contact
me at negrel.dev@protonmail.com, open an
issue or make a
pull request.
Please give a ⭐ if this project helped you!
MIT © Alexandre Negrel