Skip to content

egui-workbenchA desktop workbench for egui

The shell, not the content. Themes, title bar, tabs, explorer, dialogs, charts, and the runtime every desktop app repeats.

The workbench in GitHub Light

See it ​

Live demo
The workbench running in your browser: open files, edit them, switch themes from View.Open in a tab ↗

The idea ​

egui-workbench packages the visual core of an IDE-like desktop application as a Rust crate. It draws the shell and returns what the user asked for; it never owns your documents or chooses a storage format. The optional chart and data-viewer components expose explicit loaders, and painting performs no I/O.

rust
use egui_workbench::app::{WorkbenchApp, show_workbench};
use egui_workbench::egui;

fn ui(ui: &mut egui::Ui, app: &mut App) {
    let commands = show_workbench(ui, app);
    for command in commands {
        app.handle(ui.ctx(), command);
    }
}

Start with cargo generate --git https://github.com/jigonzalez930209/egui-workbench --subfolder templates/app --name my-app, or cargo xtask new from a checkout, or read Build your first app to wire the runtime by hand.

Released under MIT OR Apache-2.0. Icons: Lucide (ISC) and Material Icon Theme (MIT).