What problem does it solve?
This Skill helps you create and adapt shadcn/ui components correctly, with consistent styling, accessibility-friendly patterns, and the right component architecture for React applications.
Core Features & Use Cases
- Component Construction: Build buttons, cards, dialogs, inputs, and other UI pieces using Radix primitives, Tailwind classes, and data-slot conventions.
- Variant Management: Define and type CVA-based variants for size, intent, and compound states without duplicating component logic.
- Composition Patterns: Use asChild, compound components, and context when a component needs to render different elements or share state across parts.
- Styling Guidance: Apply modern Tailwind selectors, semantic tokens, accessibility states, and dark mode-friendly styling in a predictable way.
- Use Case: A developer can ask for a new dialog or sidebar component and get an implementation that matches shadcn/ui conventions and integrates cleanly with an existing React app.
Quick Start
Ask for a shadcn/ui component implementation or refactor that follows the documented patterns, variants, and accessibility conventions.