What problem does it solve?
This guide provides a canonical approach to designing and assembling accessible, composable UI components, enabling teams to build consistent design systems with confidence.
Core Features & Use Cases
- Composable architecture: separates concerns into Root, Item, Trigger, and Content to enable flexible composition.
- Accessibility by default: emphasizes ARIA roles, keyboard navigation, and focus management patterns to ensure inclusive components.
- Design token and theming integration: demonstrates how to align components with design tokens and theming strategies.
- Documentation and distribution readiness: supports clear API docs, naming conventions, and registry/npm distribution patterns.
- Real-world applicability: suitable for building new primitives, patterns, and polish for a design system.
Quick Start
Follow the guide to scaffold a new component by creating a Root, Item, Trigger, and Content with proper ARIA and context wiring.