tailwind-v4

Guide Tailwind CSS v4 configuration with CSS variables and modern utilities.

1|Updated Sep 26, 2025
One-click install
npx skills add https://github.com/pascallammers/mylo-travel-concierge-v2 --skill tailwind-v4-pascallammers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tailwind-v4
Source: https://github.com/pascallammers/mylo-travel-concierge-v2/tree/main/.factory/skills/tailwind-v4
Command: npx skills add https://github.com/pascallammers/mylo-travel-concierge-v2 --skill tailwind-v4-pascallammers

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers leverage the latest features and best practices of Tailwind CSS v4, ensuring efficient, modern, and performant styling.

Core Features & Use Cases

  • CSS-First Configuration: Guides users to configure Tailwind using CSS variables (@theme) instead of JavaScript.
  • Modern Utilities: Explains new features like bracket-free arbitrary values, container queries, and advanced gradient APIs.
  • Performance: Highlights the benefits of the Oxide engine for faster builds.
  • Use Case: A developer needs to implement a responsive card component that adapts its layout based on its container size, not just the viewport. This Skill provides the exact Tailwind v4 classes and configuration needed.

Quick Start

Use the tailwind-v4 skill to generate a responsive card component using container queries.

Frequently Asked Questions about tailwind-v4

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

FAQPage Schema
How do I configure Tailwind CSS v4 using CSS variables instead of JavaScript?

Tailwind CSS v4 enables CSS-first configuration using the `@theme` directive to define design tokens directly in CSS, replacing the traditional JavaScript config file. This approach simplifies theming and integrates variables natively.

What is the Oxide engine in Tailwind CSS v4 and how does it improve build performance?

The Oxide engine is a core performance upgrade in Tailwind CSS v4 that significantly speeds up build times. It optimizes utility class generation and compilation, resulting in faster development cycles and more efficient styling output.

How do I use container queries to build responsive components in Tailwind v4?

Tailwind v4 provides built-in container query utilities that allow components to adapt their layout based on their parent container size rather than the viewport. You apply container classes to parent elements and query variants to children.

Does Tailwind CSS v4 support 3D transforms and advanced gradient APIs?

Yes, Tailwind CSS v4 includes modern utility classes for 3D transforms and advanced gradient APIs. These features allow developers to create complex visual effects and smooth dimensional transitions directly within their HTML markup.

Can I use bracket-free arbitrary values for styling in Tailwind v4?

Yes, Tailwind CSS v4 introduces bracket-free arbitrary values, streamlining the process of applying custom styling. This syntax enhancement reduces boilerplate when injecting unique spacing, sizing, or color values outside the default theme.

What are the limitations of using CSS-first configuration for dark mode and state variants?

While CSS-first configuration in Tailwind v4 modernizes theming, developers must ensure their custom `@theme` variables correctly map to dark mode and state variants. Proper variable scoping is required to maintain accessibility and responsive integrity.