What problem does it solve?
This skill helps teams create and standardize scalable, accessible component libraries and CSS-first theming with Tailwind CSS v4, eliminating inconsistent styling, brittle theming, and migration friction from v3.
Core Features & Use Cases
- CSS-first theming and tokens: define semantic design tokens with @theme and prefer perceptually uniform OKLCH color tokens for consistent theming.
- Component libraries & patterns: compose components with CVA variants, compound components, responsive grids, and form patterns compatible with React 19.
- Accessibility, dark mode, and native animations: implement focus rings, @custom-variant dark mode, native @keyframes and @starting-style animations for robust UX.
- Use Case: create a reusable UI library for a product suite, migrate a Tailwind v3 codebase to v4, or standardize dark/light themes across multiple teams.
Quick Start
Create a component library by defining your design tokens inside an @theme block, implement CVA-based variants for components, and validate dark mode with the @custom-variant pattern.