Hasty Briefsbeta

Bilingual

Rust cross-platform GPUI components

6 months ago
  • #UI Framework
  • #Rust
  • #Desktop Applications
  • GPUI Component offers 60+ cross-platform desktop UI components for building applications.
  • Components are inspired by macOS and Windows controls with a modern shadcn/ui design.
  • Features include stateless RenderOnce components, built-in Theme and ThemeColor for multi-theme support.
  • Supports various sizes (xs, sm, md, lg) and flexible layouts like Dock and Tiles.
  • High performance with virtualized Table and List components for large datasets.
  • Native support for Markdown, HTML, built-in charts, and a high-performance code editor with LSP.
  • Syntax highlighting for editor and markdown components using Tree Sitter.
  • Optional WebView element based on Wry, enabled via feature flag.
  • Icon element available, but SVG files must be provided by the user.
  • Includes a gallery of applications built with GPUI Component, like Longbridge Pro.
  • Dependencies can be added via git: gpui = "0.2.2", gpui-component = "0.3.0".
  • Still experimental with limitations; more examples and documentation in the story and examples directories.
  • Comparison table with other frameworks (Iced, egui, QT 6) highlights features, language, license, and more.
  • Apache 2.0 license; encourages issue submissions or PRs for corrections.