What problem does it solve?
This Skill helps teams build and refactor shadcn/ui components without breaking accessibility, composition, theming, or form behavior. It reduces common implementation mistakes that lead to fragile Radix-based UI code, inconsistent styling, and poor keyboard or screen reader support.
Core Features & Use Cases
- Component Architecture Guidance: Keeps Radix primitives structured correctly, with safe trigger composition, forward refs, and reusable variant patterns.
- Accessibility Preservation: Protects focus management, keyboard navigation, ARIA attributes, labels, contrast, and screen reader support.
- Styling and Form Best Practices: Encourages cn-based class merging, CSS-variable theming, React Hook Form integration, Zod validation, and responsive UI patterns.
- Use Case: When adding a dialog, form, combobox, sidebar, or data table, this Skill helps you choose the right shadcn/ui pattern and avoid regressions.
Quick Start
Use this skill to review or generate a shadcn/ui component and apply the relevant architecture, accessibility, theming, and form rules.