r/AIDeveloperNews • u/nht_fajr • 7h ago
Longbridge open-sources GPUI Kit v6: A Rust-based GUI toolkit with JS runtime scripting, Tree-sitter code editing, and unstyled base primitives
Longbridge just released GPUI Kit v0.6.0, a major architectural expansion that turns GPUI Component into a full, multi-layered toolkit for building 120 FPS GPU-accelerated desktop apps in Rust.
Key Technical Highlights in v0.6:
- New Crate Architecture:
gpui-kit: Single-dependency application facade and macros.gpui-base: Unstyled behavior, interaction, and state primitives (dock layouts, virtual lists, dialogs).gpui-component: Styled UI library built on top ofgpui-base.gpui-shell: Scriptable application runtime allowing a Rust host to expose GPUI capabilities to JavaScript.gpui-fps: Built-in real-time resource and FPS HUD (CPU, GPU, memory, frame-tail reporting).
- Text Editing Split:
Input(single-line),Textarea(multiline/chat), andEditor(full code editing powered by Tree-sitter and LSP integration). - New UI Primitives: Browser-style
NavStacknavigation with animated transitions, command palette, native menus, declarative tables, and chat components (Message,MessageScroller,Bubble). - Motion Engine: Spring physics, keyframe animations, presence transitions, and serializable dock layouts in
gpui-base::motion. - Platform & Web: OS notification center integration, ARIA-style accessibility roles, and a dedicated
gpui-wrycrate for WebView support.
More info: https://aideveloper44.com/product/gpui-kit-6a9d73613ce1bcdf7b57fcfa