Repolode
longbridge

longbridge/gpui-kit

A Rust desktop GUI kit with 75+ styled components for building cross-platform apps on the GPUI framework.

Stars
18,423
Forks
1,117
Open issues
106
Last commit
15 hours ago

What is it?

GPUI Kit is a Rust framework for building desktop applications on top of GPUI, the UI framework from Zed Industries. It provides a styled component layer (gpui-component) with forms, navigation, overlays, data tables, a code editor with Tree-sitter highlighting and LSP support, a dock layout system, and Markdown and HTML rendering.

The project is organized in layers. gpui-component offers ready-to-use controls with theming, gpui-base provides unstyled behavior and state for teams building their own design system, and gpui-shell lets a Rust host load JavaScript panels and logic with explicitly granted capabilities. Applications depend on the single gpui-kit crate, which re-exports the rest.

The kit also supports WebAssembly builds, AccessKit accessibility, and headless UI integration tests. It targets macOS, Windows, and Linux from one codebase.

Key features

  • 0175+ styled components covering forms, navigation, overlays, and feedback
  • 02Virtualized data tables and lists for large datasets
  • 03Code editor with Tree-sitter highlighting and LSP diagnostics and completion
  • 04Dock layout with resizable, draggable, and serializable panels
  • 05WebAssembly support and AccessKit accessibility
  • 06Headless UI integration testing

Use cases

  • Building a cross-platform desktop application in Rust for macOS, Windows, and Linux
  • Creating an internal design system on top of unstyled GPUI behavior primitives
  • Adding JavaScript plugins to a shipped Rust desktop app
  • Building developer tools that need a code editor or dock-style panel layout

Quick start

  1. 1

    Clone the repository

  2. 2

    Run the desktop gallery application from the project root

    cargo run
  3. 3

    Or add the library to a Rust project's Cargo.toml as gpui-kit = "0.7"

Things to know

  • The license metadata was not detected automatically, so check the LICENSE files before use.
  • Building requires a Rust toolchain and the GPUI dependency, which is a sizeable build.

Topics

FAQ

What is gpui-kit?
A Rust desktop GUI kit with 75+ styled components for building cross-platform apps on the GPUI framework. GPUI Kit is a Rust framework for building desktop applications on top of GPUI, the UI framework from Zed Industries. It provides a styled component layer (gpui-component) with forms, navigation, overlays, data tables, a code editor with Tree-sitter highlighting and LSP support, a dock layout system, and Markdown and HTML rendering.
Is gpui-kit free to use? What license does it have?
gpui-kit is open source under the Other license. Check the license terms before using it in commercial products.
Is gpui-kit still maintained?
Actively maintained. The last commit to gpui-kit was on Oct 20, 2026.
What can I use gpui-kit for?
Building a cross-platform desktop application in Rust for macOS, Windows, and Linux Creating an internal design system on top of unstyled GPUI behavior primitives Adding JavaScript plugins to a shipped Rust desktop app Building developer tools that need a code editor or dock-style panel layout
How do I install gpui-kit?
Clone the repository Run the desktop gallery application from the project root: cargo run Or add the library to a Rust project's Cargo.toml as gpui-kit = "0.7"
Where can I get gpui-kit?
The source code and installation instructions are on GitHub: https://github.com/longbridge/gpui-kit

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects