What problem does it solve?
This Skill helps you design and implement modern UI components that are accessible, composable, and maintainable so you avoid brittle APIs, inconsistent styling, and common accessibility pitfalls.
Core Features & Use Cases
- Accessible-first component design: Apply semantic HTML, keyboard navigation, focus management, ARIA roles/states/properties, and color/contrast best practices.
- Composable component architecture: Use compound components, context-driven state sharing, slots/children patterns, and naming conventions that scale with complexity.
- Polymorphism and prop-safe flexibility: Choose between
as and asChild patterns (Slot-based prop merging) to support custom rendered elements while preserving behavior and refs.
- Declarative styling for state and structure: Use
data-state for visual states and data-slot for stable targeting in Tailwind/CSS without prop explosion.
- Documentation-ready guidance: Follow documentation structure expectations (overview, demos, install, API, accessibility notes, changelog) so components are easy to adopt.
Quick Start
Ask the AI to help you implement a new accessible, composable component API and include how to document ARIA/keyboard behavior, data-state/data-slot styling hooks, and any polymorphism needs.