- Docs
- enzUI framework
- Developers
Examples
The runnable examples in the enzUI repository and how to start them.
The enzui repository (v0.3.0-alpha.1) ships two runnable examples under crates/enzui-widgets/examples/:
| Example | Purpose | Command |
|---|---|---|
App (examples/app.rs) | Complete application wiring: a notes workspace with sidebar, editable title and body, System/Light/Dark appearance controls and an enzUI window frame | cargo run --locked --example app |
Gallery (examples/gallery/main.rs) | Interactive browser for the full widget library and its variants | cargo run --locked --example gallery --features enzui-widgets/emoji-picker |
The gallery accepts environment variables for jumping straight to specific pages:
ENZUI_GALLERY_PAGE=Input— open a specific page directlyENZUI_GALLERY_LIGHT=1— open in the light themeENZUI_GALLERY_ONLY=enz_slider,enz_toggle— render only the named specimens
Use ICED_BACKEND=tiny-skia to run either example with the software renderer instead of wgpu. See every pictured widget in the Widget catalog.