Rust GUI components for building fantastic cross-platform desktop application by using GPUI.

★ 20,749⑂ 1,272👁 56⑃ 3,062● 805▤ 20
RustNOASSERTIONCreated 2024-06-13gpui-kit.com
Download: v0.9.1v0.9.1 ↓0.9.12026-11-09
+68
Daily
+1,802
Weekly
+3,773
Monthly
20,749
stars
1,272
forks
56
watchers
3,062
prs
805
issues
20
releases

README

GPUI Kit


English | 简体中文

  

Build fantastic, high-performance desktop apps with Rust and GPUI.

GPUI Kit is a comprehensive Rust desktop application framework. It combines a
production-ready UI system with application-grade data, layout, and editing
capabilities, all built on a reusable foundation of behavior, state, and
infrastructure. GPUI Kit ships 75+ documented components and primitives,
WebAssembly support, AccessKit accessibility, UI integration testing, and an
optional JavaScript extension runtime.

Documentation: 

text
gpui-kit             The one crate applications depend on
├── gpui-base        Unstyled behavior, state, and infrastructure
└── gpui-component   GPUI Component: the complete styled UI system


gpui-kit pins the matching GPUI release and re-exports GPUI, base, component,
and assets, so a Rust application lists a single dependency. JavaScript extension
hosts add gpui-shell separately; its default components feature supplies the styled catalog.

See the executable application recipe and AI-assisted development acceptance checks for a tested starting point and verification commands.

 Features

- 75+ Components and Primitives: Forms, navigation, overlays, data display, editing, feedback, and layout, with polished interactions and productive defaults.
- Production Ready: Used to build Longbridge Pro from day one and continuously refined in a publicly shipped commercial desktop application.
- WebAssembly: Run applications and the same component showcases on the web with wasm32-unknown-unknown.
- Accessibility: AccessKit roles, names, states, relationships, and actions are built into the interaction layer and covered by tests.
- UI Integration Testing: Render real components in headless windows, drive pointer and keyboard input, and assert state, focus, layout, and accessibility.
- Native Feel: Modern controls inspired by macOS and Windows, backed by semantic themes and multiple sizes.
- 120 FPS: GPU-accelerated interfaces that remain smooth under load.
- Data Tables: Virtual scrolling, fixed and resizable columns, sorting, and cell selection across hundreds of thousands of rows.
- Virtual Lists: Render only the visible range, including lists whose items have different sizes.
- Code Editor: Stable performance at 200K lines with Tree-sitter highlighting and LSP diagnostics, completion, and hover.
- Dock Layout: Resizable panels, draggable tabs, nested splits, and edge docks — all serializable.
- Rich Content: Native Markdown and HTML rendering, syntax highlighting, and built-in charts.
- Design Freedom: Use the complete visual system or build your own on the behavior and infrastructure in gpui-base.
- JavaScript Extensions: gpui-shell lets a shipped Rust host load panels and business logic as scripts, with every capability granted explicitly.
- Cross Platform: Ship one Rust codebase to macOS, Windows, and Linux.

 Framework Architecture

 Three layers. One ecosystem.

Use gpui-component to keep the application coherent with on

Top issues

Discussions

Latest release

v0.9.1 v0.9.1 2026-11-09
GPUI Kit v0.9.1

GPUI Kit 0.9.1 is a backward-compatible patch release. It adds a draggable GridLayout, right-pinned table columns, Markdown task checkboxes, link tooltips and motion transitions that outlive their element, along with a large batch of input, text, slider, accessibility and gpui-shell hardening fixes. The default backend moves to gpui-pre 0.3.12 and the optional GPUI Fast backend to 0.1.14.

 New APIs

- GridLayout: a grid whose items the user drags and resizes, also registered in the gpui-shell component catalog. (3770, 3789)
- Table: ColumnFixed::Right pins columns to the righ

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON