state count = start ?? 0
let label = if count == 1 then "time" else "times"
on inc = count <- count + 1
Card(title: "Counter", class: "max-w-sm") {
p(class: "text-lg") "Clicked {count} {label}"
Button(variant: "gradient", @press: inc) "Click me"
}Weft
A fullstack web framework in Rust: a small template language, native Tailwind, WebGL, charts and an accessibility tree in every render.
- Rust
- WebAssembly
- WebGL2
- GLSL