vide/README.md
alicesaidhi f8e84f9f8d
Improve Documentation Site (#41)
* update css and snippets

* Add banner

* improve home page

* Update Banner

* cleanup

* Update font to JetBrains Mono

* Add a quick look to Home

* Simplify Home Page

* Removed banner, removed copyright notice, reduced home page
2024-11-03 17:32:19 +00:00

38 lines
740 B
Markdown

<br>
<div align="center">
<img src="docs/public/full_logo.svg" width="600" />
</div>
Vide is a reactive Luau UI library inspired by [Solid](https://www.solidjs.com/).
- Fully Luau typecheckable
- Declarative and concise syntax.
- Reactively driven.
## Getting started
Read the
[crash course](https://centau.github.io/vide/tut/crash-course/1-introduction)
for a quick introduction to the library.
## Code sample
```luau
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
```