tailwind-v4-shadcn

Configure Vite + React projects with Tailwind CSS v4 and shadcn/ui.

3|Updated Nov 14, 2025
One-click install
npx skills add https://github.com/evolv3ai/claude-skills-archive --skill tailwind-v4-shadcn-evolv3ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tailwind-v4-shadcn
Source: https://github.com/evolv3ai/claude-skills-archive/tree/main/skills/tailwind-v4-shadcn
Command: npx skills add https://github.com/evolv3ai/claude-skills-archive --skill tailwind-v4-shadcn-evolv3ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the setup of a new Vite + React project with Tailwind CSS v4 and shadcn/ui, preventing common configuration errors and ensuring a production-ready foundation.

Core Features & Use Cases

  • Production-Ready Setup: Installs and configures Tailwind v4 with shadcn/ui, including dark mode support and semantic color variables.
  • Error Prevention: Avoids common pitfalls like tw-animate-css errors, incorrect theme mapping, and v3 syntax in v4 projects.
  • Use Case: When starting a new Vite + React application, use this Skill to quickly establish a robust and maintainable UI foundation, saving hours of manual configuration and debugging.

Quick Start

Set up a new Vite + React project with Tailwind v4 and shadcn/ui.

Frequently Asked Questions about tailwind-v4-shadcn

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

FAQPage Schema
How do I set up Tailwind v4 with shadcn/ui in a Vite React project?

To set up Tailwind v4 with shadcn/ui in a Vite React project, this configuration installs both frameworks while implementing a CSS-variable-based theming architecture with automatic dark mode support. It ensures a production-ready UI foundation by automating the complex integration process.

Why does my shadcn/ui setup fail with Tailwind CSS v4?

Your shadcn/ui setup fails with Tailwind CSS v4 due to common configuration errors like incorrect theme mapping, missing semantic color variables, or using deprecated v3 syntax. This setup prevents these pitfalls by applying production-ready v4 patterns and resolving tw-animate-css errors.

Does shadcn/ui support CSS variables for dark mode in Tailwind v4?

Yes, shadcn/ui supports CSS variables for dark mode in Tailwind v4. This configuration implements a semantic color variable architecture that enables automatic dark mode switching, ensuring your React application maintains a robust and maintainable theming system.

Can I use Tailwind CSS v3 syntax when configuring shadcn/ui components?

No, using Tailwind CSS v3 syntax when configuring shadcn/ui components in a v4 project causes setup errors. This configuration explicitly prevents outdated syntax and incorrect theme mapping, ensuring your Vite React project uses correct, production-ready Tailwind v4 patterns.

What do I need to start a Vite React project with Tailwind v4 and shadcn/ui?

To start a Vite React project with Tailwind v4 and shadcn/ui, you need Vite, React, and Tailwind CSS v4 installed as prerequisites. This setup then configures the integration automatically, saving hours of manual configuration and debugging.