GPUI Component
60+ Rust desktop UI components for GPUI, with a 200K-line code editor and charts
A Rust component library for GPUI, the GPU-accelerated UI framework behind the Zed editor, maintained by Longbridge. It ships more than 60 stateless RenderOnce components with a themeable token system, size variants from xs to lg, virtualized Table and List for large datasets, a Tree-sitter-highlighted code editor with LSP support that stays stable to 200K lines, native Markdown and simple HTML rendering, built-in charts, and a Dock layout for resizable panel and tile arrangements. It splits into two layers: gpui-component for styled defaults and gpui-base for unstyled behavior when you want your own design system. WebAssembly targets are supported alongside macOS, Windows, and Linux.
gpui-component = { git = "https://github.com/longbridge/gpui-component" }This is the default answer for any Rust desktop app on GPUI — there is no serious competitor, and the alternatives (egui, iced, Slint) mean a different framework entirely, not a different component set. Depend on it by git rather than crates.io if you need to match a specific Zed revision, since gpui itself is only published from the zed-industries repo and version skew between gpui and gpui-component is the usual build failure. Reach for gpui-base instead of gpui-component when you are building your own visual language; and note the design language deliberately mirrors shadcn/ui with Lucide icons, so a web design spec translates over almost unchanged.
Why it is here. GPUI is the framework behind Zed but ships almost no widgets; this library is what makes it usable for real applications, and at 12.8k stars it is effectively the ecosystem's standard component set.
- only comprehensive GPUI component set
- code editor with LSP, stable to 200K lines
- virtualized Table and List
- Dock and Tiles panel layouts
- gpui-base unstyled layer
- WASM target support
- shadcn/ui-derived visual language
Verified 2026-08-15. HTTP 200. https://github.com/longbridge/gpui-component, https://github.com/longbridge/gpui-component/blob/main/README.md, https://docs.rs/gpui-component/latest/gpui_component/ (module index), GitHub API repos/longbridge/gpui-component and contents/crates/ui/src (module enumeration)








