GPUI Component
60+ Rust desktop UI components for GPUI, with a 200K-line code editor and charts
Tier S · Best in classComponent LibraryPrimitivegithub.com

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" }For an agent
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.
Facts
- License
- Apache 2.0
- Pricing
- Free, Open source
- Framework
- Rust / GPUI
- Styling
- Platform-native styling, CSS custom properties
- Distribution
- GitHub repository
- Platform
- macOS, Windows, Linux, Desktop, Cross-platform, Web
- Content type
- Code
- Agent readiness
- Readable open source, Structured documentation
- Accessibility
- Unknown
- Maturity
- Actively maintained
- GitHub stars
- 12,834
- Package
- gpui-component
Components it ships
60 totalHelps you build
5Notable for
- 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
Provenance
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)
Also in Component Libraries
6- Ark UI · 49 headless components with one API across React, Vue, Solid and Svelte
- Astryx · Meta's open-source React + StyleX design system, 150+ components and 42 templates
- Chakra UI · 114 accessible React components with a token-driven styling system
- Coss UI · Cal.com's design system: 60 Base UI primitives shipped as a shadcn registry
- daisyUI · 68 pure-CSS Tailwind components as semantic class names, MIT, with 35 built-in themes
- Headless UI · 16 unstyled, fully accessible React and Vue primitives from Tailwind Labs