longbridge/gpui-kit

Public

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

  • Stars18.7k+223 tuần này
  • Forks1.2k
  • Watchers51
  • Issues114
  • Ngày tạo13/06/2024
  • Cập nhật gần nhất28/10/2026
  • Ngôn ngữRust
  • Giấy phép—
README.md25.0 KBRaw

GPUI Kit logo
GPUI Kit

English | 简体中文

Build Status Docs Crates.io

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: https://gpui-kit.com

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; gpui-component-shell 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

Nội dung README thuộc về longbridge và cộng đồng đóng góp, giấy phép Không có giấy phép. Nguồn: github.com/longbridge/gpui-kit