
A cross-platform GPU-accelerated UI framework for Rust, built on wgpu and winit. One codebase compiles to Windows, macOS, Linux, and WebAssembly.
Add gpui-ce to your Cargo.toml and start building GPU-accelerated UIs in minutes.
Replace platform-specific UI code with a single, unified GPU-accelerated framework.
Unified wgpu + winit backend replaces Metal/Vulkan/D3D12/Cocoa/Win32/Wayland — one code path compiles to Windows, macOS, Linux, and WASM.
Full GPU-driven UI pipeline with glyphon text atlas, resvg SVG rendering, and custom wgpu shaders.
40+ reusable primitives — buttons, menus, tabs, dropdowns, modals, sliders, trees, virtual lists, and more.
Runtime-switchable themes via JSON. 20+ included themes with full color, typography, and spacing control.
Embeddable code editor with tree-sitter syntax highlighting, ropey text buffers, multi-cursor editing.
Built-in GPU profiler and UI inspector with custom wgpu compute shaders for performance visualization.
A comprehensive suite of reusable UI primitives built on WGPUI.
WGPUI is open source. Clone the repo, add the crate, and start building GPU-accelerated UIs.
View on GitHub