tailwind-css

Installation
SKILL.md

Tailwind CSS 4.x

Platform: Web (Tailwind CSS 4.x). For mobile styling, see the nativewind skill (Tailwind 3.x for React Native).

Overview

Utility-first CSS framework for rapid UI development. Tailwind CSS 4.x introduces a CSS-first configuration approach, automatic content detection, and improved performance with a new engine.

Install: pnpm add -D tailwindcss @tailwindcss/vite

API Reference: Use Context7 MCP for full utility class reference (mcp__context7__resolve-library-idtailwindcss).

Key Changes in v4

  • CSS-first configuration - Use @theme in CSS instead of tailwind.config.js
  • Single import - Use @import "tailwindcss" instead of separate directives
  • Automatic content detection - No content array needed
  • New color system - OKLCH colors with wide gamut support
  • Built-in Vite plugin - @tailwindcss/vite for optimal integration
Related skills
Installs
43
GitHub Stars
80
First Seen
Feb 18, 2026