rune-ui


A component library for Rune, the Rust native UI framework. A CLI copies each component into your app, where it is yours to edit, and themes are plain data.
- Status
- In progress
- Year
- 2026
- Role
- · Everything
- Rust
- Rune
- GPU rendering
- CLI
- Design system
What it is
Rune is a GPU-rendered Rust UI framework. It draws the pixels and handles input; it does not come with a design system. rune-ui is that missing layer, and it follows the shadcn/ui model: you don't depend on a component package, you copy the components into your own app and own them from then on.
A style system, the components, and themes stored as data sit on top of Rune's own behaviour crate. A CLI does the copying and keeps a lockfile, so it can show you what drifted from the registry and merge upstream changes into your edits three ways.
Use it
The registry is embedded in the CLI. From a clone of the repo, point it at your app:
Set up an app
cargo run -p rune-ui-cli -- init --app ../my-appCopy components in
cargo run -p rune-ui-cli -- add button select dialog --app ../my-appCheck nothing drifted
cargo run -p rune-ui-cli -- diff --check --app ../my-appinit adds the dependencies and Rune's patch table, copies the base files and writes rune-ui.lock. add copies each item and everything it needs into src/ui/, and never overwrites a file you changed unless you pass --force. rune-ui list shows every item and the state of your copy, and rune-ui update merges registry changes into your edits.
Then add mod ui; and build from the copies:
let t = rune_ui_themes::theme(cx.system_dark());
ui::button::Button::new("save", "Save")
.on_press(|s: &mut App| s.save())
.build(&t)
Anything that opens over the page, such as a select, dialog or palette, pushes its surface into one overlay layer that the view mounts once at the root. That is what keeps overlays anchored to their trigger, flipping near the window's edge, and closing on Escape.
The gallery
rune-ui ships a gallery app: every component in every state, in light and dark, with a theme editor beside it. Run it with cargo run -p gallery, or add the same page to your app with rune-ui add gallery.
The pictures below are headless renders of that gallery, with placeholder content, cropped to the top of each group. Follow the site's theme or pick one.








Where it stands
Version 0.12.0. Rune has no releases, so each rune-ui release is built and tested against one pinned Rune revision, and an app uses that same one. Components are tested by pressing real keys and moving a real pointer through the live path, not just by rendering them. It is MIT licensed, and young enough that the changelog says what moved.







