A reactive Luau library for creating UI. https://centau.github.io/vide/
Find a file
2023-09-19 12:20:03 +01:00
.github/workflows Initial commit 2023-08-08 21:33:11 +01:00
docs Merge reactive scope refactor 2023-09-15 12:54:42 +01:00
src Fix edge case bugs in reactive graph updates 2023-09-19 12:07:49 +01:00
test Update indexes() test 2023-09-19 12:20:03 +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 Update todo 2023-09-15 19:57:03 +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