What problem does it solve? Building consistent component libraries with Tailwind CSS requires correct handling of design tokens, variant patterns, and version-specific syntax, and mistakes like dynamic class names silently break styles in production. ## Core Features & Use Cases - Design Token Architecture: Set up semantic color tokens with CSS variables and dark mode for both Tailwind 3 (config-based) and Tailwind 4 (CSS-first @theme). - Type-Safe Component Variants: Create Button, Badge, and Dialog components using CVA or dependency-free Record<Variant, string> maps with literal class names. - Animations and Utilities: Apply tailwindcss-animate entry/exit transitions and compose classes with the cn() helper built on clsx and tailwind-merge. - Use Case: When adding a new Button component to a React component library, use this Skill to define semantic tokens, wire up CVA variants with correct focus and disabled states, and ensure every class name is literal so Tailwind generates the styles. ## Quick Start Use the tailwind skill to create a Button component with primary, destructive, and outline variants that supports dark mode.