GPUI Kit is an Apache-2.0 Rust UI framework for building high-performance desktop applications with GPUI, the framework from Zed Industries. Developed by Longbridge and described as proven in production, it offers more than 75 components and primitives, with support for macOS, Windows, Linux, and WebAssembly. Its focus is information-dense software: the toolkit includes virtualized lists, data tables with sorting and resizable columns, a code editor with Tree-sitter highlighting and language-server features, and serializable dock layouts. It also emphasizes high-refresh rendering, semantic-token themes, accessibility through AccessKit, and integration tests that exercise real components, input, focus, layout, and accessibility.
The framework is organized into three layers to let teams choose how much of the interface system to own. gpui-component supplies a polished, coherent set of controls, themes, and interaction behavior; gpui-base provides unstyled primitives for teams that want to create their own visual design while reusing mechanics such as focus, overlays, accessibility, and virtualization; and gpui-shell allows JavaScript extensions to render interface elements inside a Rust-hosted application. Shell extensions receive only explicitly granted capabilities and can hot-reload without restarting the app. The guiding principle is that foundational behavior should be reusable while each application controls its presentation. Native Shell is presented as a separate option better suited to mobile, web, terminal, embedding, and dynamically delivered applications.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.