mirror of
https://github.com/centau/vide.git
synced 2026-08-20 23:01:37 +00:00
879 B
879 B
⚠️ This library is in early stages of development with breaking changes being made often.
Vide is a reactive UI library.
- Fully Luau typecheckable
- Declarative and concise syntax.
- Minimal imports.
- Reactively driven.
Getting started
Read the crash course for a quick introduction to the library.
Code sample
local vide = require(path_to_vide)
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