enzUI
A Linux GUI framework for Rust built on our iced and wgpu forks, with themed widgets, an application shell, AccessKit accessibility and Wayland services.
enzUI (github.com/enz1m/enzui) is a Linux GUI framework for Rust built on our iced fork and our wgpu fork, with a tiny-skia software fallback. It combines a themed widget library, an adaptive application shell with client-side window controls, keyboard traversal, AT-SPI accessibility through AccessKit, and optional Linux desktop services.
Try it in three commands
All foundation fork dependencies are public and pinned in Cargo.toml / Cargo.lock:
git clone --branch v0.3.0-alpha.1 https://github.com/enz1m/enzui.git
cd enzui
cargo run --locked --example appTo browse the widget library interactively:
cargo run --locked --example gallery --features enzui-widgets/emoji-pickerWhat is in the box
| Area | What you get |
|---|---|
| Widgets | Themed controls, forms, editors, menus, dialogs, navigation, virtualized lists and tables, charts and media views. |
| Application shell | enz_app_shell: titlebar, sidebar, content, window controls, resize edges and adaptive drawer. |
| Theming & materials | Nebula dark and light themes, shared spacing/radius/typography scales, shared desktop theme files, glass and grain tokens. |
| Accessibility | AccessKit-to-AT-SPI bridge (enzim-accesskit), Tab/Shift+Tab traversal and headless verification in enzui-test-support. |
| Motion | Spring transitions, state animations, animated SVG, reduced-motion support and enzui-frame-check. |
| Desktop services | Feature-gated XDG portals, Wayland clipboard, native drag and drop, single-instance activation, keyring, GStreamer media and MPRIS. |
| Localization | Fluent catalogs, CLDR formatting, widget translations and right-to-left layouts. |
Workspace crates
| Crate | Purpose |
|---|---|
enzui-widgets | Widget library, application shell and app_setup::run |
enzui-core | Actions, shortcuts, semantics, focus, portals and media models |
enzui-theme | Nebula theme, design scales and iced::Theme adapter |
enzui-icons | Bundled Lucide icons and icon registry |
enzui-services | Feature-gated media, keyring, preview, Git, OAuth, DNS and mail services |
enzui-terminal | GPU terminal widget |
enzui-resources | Remote resource loading and image decoding |
enzui-external-image | Zero-copy DMA-BUF external frame import on the GPU |
enzui-clipboard / enzui-clipboard-runtime | Wayland clipboard on the app's own seat connection |
enzui-wayland / enzui-parent-lease | Portal parent export, compositor glass, system bell and surface hints |
enzui-activity | Background activity publishing |
enzui-agent / enzui-agent-app / enzui-center-protocol | Optional MCP Center integration and background app mode |
enzui-security | Process-level security primitives |
enzui-frame-check / enzui-test-support | Dev-dependencies for redraw replay and accessibility tests |
Web embedding lives separately in github.com/enz1m/enzim-webkit and github.com/enz1m/enzim-webkit-rs.
Public foundation forks
github.com/enz1m/enzim-iced— glass materials, retained rendering, native integration and accessibilitygithub.com/enz1m/enzim-wgpu— Vulkan presentation and Naga SPIR-V patchesgithub.com/enz1m/enzim-winit— Wayland portals, frame pacing, input, popups and window shadowsgithub.com/enz1m/enzim-cosmic-text— bounded editor work, emoji fallback and text shapinggithub.com/enz1m/enzim-cryoglyph— GPU atlas growth and precise text placementgithub.com/enz1m/enzim-accesskit— AT-SPI lifecycle fixes and bounded text providersgithub.com/enz1m/enzim-zbus— atomic close-on-exec Linux file descriptor reception
Where to start
- Installation — toolchain, Linux system libraries and pinned Git dependencies.
- Your first app — building a small window with
app_setup::run. - Building an app — state, messages, shell chrome and responsive layouts.
- Widget catalog — every widget pictured from the gallery.
For developers
Getting started
- InstallationThe Rust toolchain, Linux system packages and pinned public forks needed to build enzUI and its examples.
- Your first appRun the enzUI example and follow an edit from the text field to the application state.
- Building an appThe Message round-trip, runtime setup, the app shell, window controls and responsive layout.
- Project layout and featuresThe enzUI crates, what each is for, and every Cargo feature an application can turn on.
Widgets
- Widgets by taskEvery supported enzUI widget, grouped by what you are trying to do, with the gallery that shows them live.
- App shell and titlebarsHow enz_app_shell frames a window, the titlebar pattern every app follows, shell tokens, and the reference apps.
- Dialogs, menus and popoversModal dialogs and their presets, stacked dialogs, context menus, menu bars, popovers and how overlays place themselves.
- Lists and tablesVirtualised lists, grids and tables, trees, reorderable and keyed lists, and the scroll offset round trip they rely on.
- Text and text inputDisplaying text with the type scale, text fields and editors, spell checking, emoji, access keys, selection, drag and shaping.
- Media and imagesImages, animated images and SVG, icons, image viewing and cropping, video and media controls, and the services behind them.
- Widget catalogEvery widget in the gallery, as it renders in the dark theme.
Design
- Styling and tokensHow EnzTheme scales, semantic roles and per-component token snapshots decide what a widget looks like.
- Theme fileThe shared enzui/theme.toml every enzUI app reads, its keys, precedence, error handling and how an app adopts it.
- Colored controlsHow a coloured fill chooses readable text and icon ink, and which controls use that rule.
- MaterialsLiquid glass in the app and over the desktop, adaptive ink, and paper-like grain.
- MotionWhat animates by default, visibility transitions, springs, animated lists and images, and how to animate a custom widget.
Platform
- Accessibility and keyboardThe AT-SPI bridge, keyboard traversal and focus, live regions, desktop accessibility preferences, and how to test them.
- LocalizationFluent catalogs, language selection, CLDR formatting, right-to-left layout and translating framework strings.
- Desktop servicesPortals, opening files and links, clipboard, notifications, single instance, tray, persistence, credentials and other capabilities that are not widgets.
- Drag and dropDragging within the app, accepting files and text from other applications, and driving native Wayland drag and drop yourself.
- PackagingOne application identity for the desktop entry, metainfo, icon, D-Bus and search files and the window, plus distribution and Flatpak builds.
- Platform supportWhat works on Wayland and X11, how the renderer is chosen, Wayland-only builds, and embedding web content.
Tooling
- Developer toolsiced's devtools and Comet, the environment variables that switch on enzUI diagnostics, and accessibility inspection.
- TestingTesting an enzUI app headlessly with simulated input, focus, the accessibility tree and audit, pixels, animation replay and scoped preferences.
- LoggingFramework diagnostics through the log facade, their targets, the default logger, RUST_LOG, the systemd journal and your own logger.
- Performance observerMeasuring input-to-frame latency with iced's opt-in performance observer, and producing repeatable workload reports.