tailwind-v4

Configure Tailwind CSS v4 with CSS-first design tokens and @theme.

4|2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/0xKobold/0xkobolds --skill tailwind-v4-0xkobold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tailwind-v4
Source: https://github.com/0xKobold/0xkobolds/tree/main/packages/pi-ollama/.pi/skills/tailwind-v4
Command: npx skills add https://github.com/0xKobold/0xkobolds --skill tailwind-v4-0xkobold

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Tailwind CSS v4 adoption is streamlined with a CSS-first configuration, reducing boilerplate and setup time.

Core Features & Use Cases

  • CSS-first design tokens via @theme, simplified migration from v3
  • Built-in utilities, container queries, 3D transforms, and expanded gradients
  • Use Case: starting a new Tailwind v4 project or migrating from v3 to v4 using tokens and utilities

Quick Start

Apply Tailwind v4 with a CSS-first setup to initialize your project design system.

Frequently Asked Questions about tailwind-v4

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate from Tailwind CSS v3 to v4?

Tailwind CSS v4 migration is streamlined using migration-friendly utility mappings and a new CSS-first configuration approach. The transition reduces boilerplate by adopting the @theme system for design tokens during the upgrade.

What is the CSS-first configuration in Tailwind v4?

CSS-first configuration in Tailwind v4 replaces traditional setup by defining design tokens directly in CSS. This approach uses the @theme system to establish your project's design system natively within your stylesheets.

Does Tailwind v4 support container queries and 3D transforms?

Yes, Tailwind v4 includes built-in utilities for container queries, 3D transforms, and expanded gradients. These modern CSS features are available out-of-the-box alongside the CSS-first token-based theming system.

How do I set up design tokens using the Tailwind v4 @theme system?

You set up design tokens in Tailwind v4 by declaring them within the @theme directive in your CSS. This CSS-first workflow initializes your project's design system by mapping custom properties directly to utility classes.

Can I use Tailwind v4 with Vite for faster builds?

Tailwind v4 is designed for faster builds and integrates with modern build tools like Vite. Applying Tailwind v4 with a CSS-first setup in Vite initializes your project design system while optimizing build performance.