Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/centau/vide

A reactive Luau library for creating UI.
https://github.com/centau/vide

declarative luau reactive roblox ui

Last synced: 8 days ago
JSON representation

A reactive Luau library for creating UI.

Awesome Lists containing this project

README

        




Vide is a reactive Luau UI library inspired by [Solid](https://www.solidjs.com/).

- Fully Luau typecheckable
- Declarative and concise syntax.
- Reactively driven.

## Getting started

Read the
[crash course](https://centau.github.io/vide/tut/crash-course/1-introduction)
for a quick introduction to the library.

## Code sample

```lua
local create = vide.create
local source = vide.source

local function Counter()
local count = source(0)

return create "TextButton" {
Text = function()
return "count: " .. count()
end,

Activated = function()
count(count() + 1)
end
}
end
```