rusui
A retained-mode UI framework in Rust, drawn on the GPU through Vello and wgpu.
Role · Solo — every crate
Crates
8
Examples
23
A UI framework built from the layout engine up: eight crates covering core, layout, rendering, widgets, application shell, theming, animation, and docking. Rendering goes through Vello on wgpu, with text shaped by parley and windowing by winit.
Why write another one
Because the interesting parts of a UI framework are the ones you never see from the outside: how layout resolves, how a theme scopes, how state transitions are expressed, how a docking system stays coherent while panels are dragged around. Those are answered by writing them, not by reading someone else's answer.
The 23 examples are the actual specification. Each one isolates a single concern —
hello_layout, hello_theme_scope, hello_state_transitions, hello_nested_scroll,
dock_showcase — so a change that breaks a concept breaks a small program that only
demonstrates that concept.
Where it sits
This is the same instinct as Mirage and MotionForge: build the layer underneath rather than another thing on top of it. Rust, a GPU pipeline, and no framework in the middle.