What problem does it solve?
Tailwind v4 helps you build consistent, responsive React UIs without writing custom CSS for every layout or style decision, while avoiding common v3-to-v4 migration pitfalls (like tailwind.config.js).
Core Features & Use Cases
- CSS-first configuration (v4): Configure tokens and reusable styling using @theme, @utility, and @variant instead of tailwind.config.js, then style with utilities directly in JSX.
- Design tokens + shadcn theming: Wire shadcn/ui themes correctly by defining shadcn HSL triplets in :root and .dark and mapping them with @theme inline so opacity modifiers like bg-primary/80 work.
- Responsive + advanced layout controls: Create responsive layouts with sm:, md:, lg: and use container queries (@container, @sm:, @lg:) for components that adapt to their container width (not just the viewport).
- Correct usage in EOS projects: Follow Remotion constraints (no animate-* / transition-*; use useCurrentFrame) while using Tailwind for static layout in video compositions, and use Tailwind normally in saas/ for React + shadcn components.
- Practical guardrails: Prevent styling bugs by using cn() (twMerge) for class conflict resolution and by keeping dynamic class names out of string interpolation so Tailwind can reliably detect classes.
Quick Start
Use the tailwind skill to set up Tailwind v4 in your saas/ frontend by importing tailwindcss in src/index.css, adding the required dark variant, defining shadcn tokens in :root and .dark, and mapping them via an @theme inline block.