longbridge/gpui-component

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

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 35 minutes ago
Added to GitGenius on November 24th, 2025
Created on June 13th, 2024
Open Issues & Pull Requests: 77 (-3)
Number of forks: 810
Total Stargazers: 13,413 (+5)
Total Subscribers: 42 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 18.5 hours
Mean response time: 11.1 days
90th percentile: 20.8 days
Tracked items: 486

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 93% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 49% of tracked open issues have had no activity in three months. Only 17% of issues opened in the past year have been closed. Three people close 85% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 98
New in 7 days: 21
Closed in 7 days: 12
Avg open age: 82 days
Stale 30+ days: 73
Stale 90+ days: 52

Recent activity

Opened in 7 days: 19
Closed in 7 days: 8
Comments in 7 days: 7
Events in 7 days: 21

Top labels

  • input (17)
  • gpui (11)
  • windows (9)
  • table (8)
  • linux (7)
  • dialog (5)
  • editor (4)
  • example (4)

Detailed Description

The GPUI Component repository is a Rust-based GUI toolkit designed for building cross-platform desktop applications using GPUI, a rendering framework. The project provides over 60 pre-built UI components that combine inspiration from macOS and Windows native controls with modern design principles from shadcn/ui, creating a cohesive visual experience across platforms.

The component library emphasizes ease of use through stateless RenderOnce components that simplify development workflows. It includes comprehensive theming capabilities with built-in Theme and ThemeColor systems that support multiple themes and variable-based configurations. Components support multiple size variants including xs, sm, md, and lg to accommodate different design needs. The toolkit offers flexible layout options including dock layouts for panel arrangements and resizing, as well as freeform tile-based layouts for more complex interface designs.

Performance is a core consideration in the design. The library includes virtualized Table and List components specifically optimized for rendering large datasets smoothly without performance degradation. The integrated code editor can handle files up to 200,000 lines while maintaining stable performance and includes Language Server Protocol support for features like diagnostics, code completion, and hover information. Syntax highlighting throughout the toolkit uses Tree Sitter for accurate language parsing.

Content rendering capabilities extend beyond basic UI elements. The library natively supports both Markdown and basic HTML rendering, allowing developers to incorporate rich text content directly into their applications. Built-in charting components enable data visualization without requiring external dependencies. The toolkit also includes comprehensive icon support through an Icon element, with examples using Lucide icons that developers can customize for their specific needs.

The repository is classified across multiple domains including UI Components, GUI Toolkit, Rust Development, Widgets Library, Declarative UI, and Desktop Applications.

Development resources include a story crate that serves as a gallery application showcasing all available components, standalone examples in the examples directory, and a web-based gallery accessible through WebAssembly at localhost:3000. The project is licensed under Apache 2.0 and draws design inspiration from shadcn/ui and Reui. The first production application built with GPUI Component is Longbridge Pro, demonstrating the toolkit's capability for real-world desktop application development.