RavenRS · Rust GUI

SelectionBar

Edit and run the SelectionBar RavenRS example in your browser. Explore its Rust code and download a Cargo project for desktop and WebAssembly.

One declarative Rust interface, GPU rendering, reactive state and semantic design tokens. Free and open source under MIT OR Apache-2.0.

Rust source

fn selection_bar() -> impl View {
    SelectionBar::new(3)
        .on_exit(|| {})
        .action(ToolbarAction::new("Copy").icon(IconName::Copy).icon_only().on_click(|| {}))
        .action(ToolbarAction::new("Favorite").icon(IconName::Star).icon_only().on_click(|| {}))
        .width(420.0)
}

The interactive preview loads when JavaScript and WebGPU or WebGL2 are available. You can read the guide and examples here at any time.

More examples