centau / vide

A reactive Luau library for creating UI.
https://centau.github.io/vide/
MIT License
88 stars 15 forks source link
declarative luau reactive roblox ui


Vide is a reactive Luau UI library inspired by Solid.

Getting started

Read the crash course for a quick introduction to the library.

Code sample

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