mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
A reactive Luau library for creating UI.
https://centau.github.io/vide/
Deeper nested properties guaranteed to be processed after shallower nested properties. Also added strict mode checks for duplicate nested properties. |
||
|---|---|---|
| .github/workflows | ||
| docs | ||
| src | ||
| test | ||
| .gitattributes | ||
| .gitignore | ||
| .luaurc | ||
| CHANGELOG.md | ||
| default.project.json | ||
| LICENSE.md | ||
| README.md | ||
| todo.md | ||
⚠️ This library is in early stages of development with breaking changes being made often.
Vide is a reactive UI library.
- Uses Luau typechecking
- Declarative and concise syntax.
- Minimal imports.
- Reactive state driven.
Getting started
Read the crash course for a quick introduction to the library.
Code sample
local vide = require(path_to_vide)
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