A reactive Luau library for creating UI. https://centau.github.io/vide/
Find a file
Richard fecce96a9f Revert "Echo initial value if given a source"
This reverts commit 16e2983c54758cabfb1ddd102090f20083820d03.
2023-09-19 19:20:17 +01:00
.github/workflows Initial commit 2023-08-08 21:33:11 +01:00
docs Update strict mode docs 2023-09-19 15:01:26 +01:00
src Revert "Echo initial value if given a source" 2023-09-19 19:20:17 +01:00
test Revert "Echo initial value if given a source" 2023-09-19 19:20:17 +01:00
.gitattributes Initial commit 2023-08-08 21:33:11 +01:00
.gitignore Update vitepress 2023-08-29 21:37:10 +01:00
.luaurc Initial commit 2023-08-08 21:33:11 +01:00
CHANGELOG.md Initial commit 2023-08-08 21:33:11 +01:00
default.project.json Initial commit 2023-08-08 21:33:11 +01:00
LICENSE.md Initial commit 2023-08-08 21:33:11 +01:00
README.md Update README.md 2023-09-02 17:44:28 +01:00
todo.md Fix test type error 2023-09-19 17:37:42 +01:00



⚠️ 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