enzUI
A Linux GUI framework for Rust, built on our iced and wgpu forks. It powers the enzimOS shell, Settings and the enzim desktop apps. It supports Wayland and a reduced set of features on X11.
Alpha release v0.3.0-alpha.1, MIT licensed and distributed via Git.
Run the example app and widget gallery
The repository pins its public fork dependencies in Cargo, so no private checkout or SDK is required. Pinned toolchain is Rust 1.99.1 (minimum supported compiler 1.95).
git clone --branch v0.3.0-alpha.1 \ https://github.com/enz1m/enzui.git cd enzui cargo run --locked --example app cargo run --locked --example gallery \ --features enzui-widgets/emoji-picker
- example app: complete notes workspace with sidebar, editing and theme switching
- example gallery: interactive browser of the full widget library
- app_setup::run installs the widget runtime, accessibility bridge and Tab navigation
fn view(&self) -> Element<'_, Message> { let body = column![ enz_text(format!("Clicked {} times", self.count)) .size(TextSize::Title3) .into_element(), enz_button("Add one", Message::Increment).into_element(), enz_button("Reset", Message::Reset).into_element(), ] .spacing(12); // Fills the window; enz_app_shell supplies the titlebar. container(body).padding(24).width(Length::Fill).into() }
Framework features
The same components used by enzimOS Shell and every enzim app, organized into modular crates so apps enable only the backends they need.
Widget library & app shell
Buttons, forms, editors, menus, dialogs, virtualized tables, charts, media views and an adaptive app shell with client-side window controls.
Keyboard and screen readers
Tab and Shift+Tab traversal plus AccessKit-to-AT-SPI semantics across controls, with headless test helpers in enzui-test-support.
Materials & shared themes
The Nebula theme in dark and light, shared theme files read across apps, and compositor glass and grain tokens.
Physics motion & frame checks
Spring transitions that preserve pointer velocity, animated SVG, reduced-motion support and enzui-frame-check for retained redraw verification.
Localization & RTL
Fluent catalogs, CLDR locale formatting, framework widget translations and right-to-left layout support.
wgpu with tiny-skia fallback
GPU rendering on Vulkan or OpenGL via our wgpu fork, DMA-BUF external image import in enzui-external-image, and a tiny-skia software fallback.
Crates and dependency forks
enzUI splits widgets, theming, services, Wayland protocols and optional agent support into separate crates backed by our public forks under github.com/enz1m.
Core crates
enzui-widgetsWidget library, application shell, app_setup::run and runnable examplesenzui-coreActions, shortcuts, semantics, focus, portals and media modelsenzui-themeNebula dark/light theme, spacing/radius/type scales and iced::Theme adapterenzui-iconsBundled Lucide icons and icon registryenzui-servicesFeature-gated GStreamer, MPRIS, keyring, OAuth, DNS, Git and mail servicesenzui-terminalGPU terminal widget backed by our Alacritty and VTE forksenzui-external-imageZero-copy DMA-BUF frame import from another process onto the renderer GPUenzui-waylandPortal parent export, compositor glass, system bell and surface hintsenzui-clipboardWayland clipboard on the app's own connection and seatenzui-agentOptional app-side MCP Center client and background-mode glue (enzui-agent-app)
Foundation forks
- enzim-icedGlass materials, retained rendering, Wayland integration and accessibility
- enzim-wgpuVulkan presentation and Naga SPIR-V patches
- enzim-winitWayland portals, frame pacing, input, popups and window shadows
- enzim-cosmic-textBounded editor work, emoji fallback and text shaping
- enzim-cryoglyphGPU glyph atlas growth, bounded allocation and text placement
- enzim-accesskitAT-SPI lifecycle fixes, bounded text providers and editable text
- enzim-zbusAtomic close-on-exec reception of Linux file descriptors
Apps built with enzUI
enzimOS Shell, Settings, Store, Browser, Mail, Messages, Files and Terminal all ship on enzUI. Web content embedding lives separately in enzim-webkit and enzim-webkit-rs so ordinary apps never pull in a browser engine.
