longbridge /gpui-kit
Rust GUI components for building fantastic cross-platform desktop application by using GPUI.
★ 20,749⑂ 1,272👁 56⑃ 3,062● 805▤ 20
+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
#3008window hide show7 comments · 2026-09-08#3310Android: touch, soft keyboard and phone-width issues found testing every component of 0.7.05 comments · 2026-09-29#2967Feature Request: Advanced Animations, Responsive UI, Grid, Media, Overlays, and File Attachments5 comments · 2026-09-05#3056Inspector cannot inspect any element inside the application window4 comments · 2026-09-13#2379datatable: header bg isn't properly coloured with sorting4 comments · 2026-05-18#2073Data Visualization4 comments · 2026-02-23#1818feat(SidebarToggleButton): allow setting custom icons4 comments · 2025-12-16#3950Firefox: Click targets are offset in documentation previews3 comments · 2026-11-12
Discussions
#3981Dock: allow empty zones, show a default view, and hide empty sides.0 comments · 2026-11-14#3941write GPUI like React, this project is interesting (https://github.com/ppmpreetham/zopra)0 comments · 2026-11-12#3891Ferail: a file manager on GPUI Kit, and GPUI Kit on AROS (with thanks)0 comments · 2026-11-11#3834Stylus support and touch drawing0 comments · 2026-11-06#3666Confusing about Entity example0 comments · 2026-10-24#3634How to make the window height adapt to its content?1 comments · 2026-10-22#3597Sailry — a native AI agent harness built with GPUI Kit0 comments · 2026-10-19#3558Dock: any way to set a size range for panels?1 comments · 2026-10-16
Latest release
v0.9.1 v0.9.1 2026-11-09GPUI 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
相关报道 (2)
News & coverage (3)
Hacker NewsGPUI Kit v0.6.0▲ 1 · 0 comments · 2026-09-03xJason Lee on X: "GPUI Kit has over 220 contributors. https://t.co/hiJufAnmOA"2026-11-01xRust Bytes on X: "GPUI Kit v0.6.2 is out! > This release adds iOS/Android mobile support, new Carousel/Empty/InputGroup components, public editor search API, and ...2026-09-18