Make something native.

Start with the gallery, then bring the pieces you need into your own Rust application.

Run the gallery

Clone the repository and run the native widget gallery. Cargo builds with a maximum of six parallel jobs in this repository.

Terminal
git clone https://github.com/ExtraBinoss/argui.git
cd argui
cargo run -p argui-widget-gallery --all-features

Install Rust and the native dependencies for your platform. The Linux setup guide covers the optional WebView and native integrations.

Add Argui

Argui is in active development. Use the Git dependency and select individual widget features for your application.

Cargo.toml
[dependencies.argui]
git = "https://github.com/ExtraBinoss/argui"
features = ["widget-button"]

Compose a view

A small, typed view using the same Button and Element APIs as the gallery.

view.rs
use argui::{
    ui::Element,
    widgets::{Button, WidgetTheme},
};

fn view(theme: &WidgetTheme) -> Element {
    Element::row([
        Button::new("save", "Save changes", theme.button())
            .build(),
        Button::new("cancel", "Cancel", theme.ghost_button())
            .build(),
    ])
    .gap(10.0)
}

Take the next step

Application examples Documentation Linux setup WebAssembly gallery