What problem does it solve?
It helps you build distinctive, production-grade GPUI interfaces that look and feel consistent with shadcn/ui design principles instead of ending up with plain, inconsistent UI code.
Core Features & Use Cases
- Shadcn-inspired design system for GPUI: Establishes semantic theme tokens (colors, radius, shadows) plus a 4px spacing scale, typography hierarchy, and reusable interactive styling patterns.
- Production-ready GPUI component guidance: Implements component architecture patterns (Render/RenderOnce, composability, variants as enums, retained-mode state via Model<T>) with real Rust element trees.
- Accessible interactions by design: Ensures focus rings, keyboard navigation behaviors, and accessible naming for interactive elements to match shadcn/ui’s accessibility-first intent.
### Quick Start
Use gpui-design to generate a GPUI page or widget for your Rust app, based on your required layout, theme (light/dark), and interaction behaviors.