tailwind-v4-shadcn

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

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/shynlee04/idumb-v2 --skill tailwind-v4-shadcn-shynlee04
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tailwind-v4-shadcn
Source: https://github.com/shynlee04/idumb-v2/tree/main/.windsurf/skills/tailwind-v4-shadcn
Command: npx skills add https://github.com/shynlee04/idumb-v2 --skill tailwind-v4-shadcn-shynlee04

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the setup of Tailwind CSS v4 and shadcn/ui in React projects, preventing common configuration errors and ensuring a robust, production-ready theming architecture.

Core Features & Use Cases

  • Production-Ready Setup: Installs and configures Tailwind v4 with shadcn/ui, including dark mode support.
  • Error Prevention: Guides users through the correct four-step CSS variable architecture, avoiding 8 documented errors.
  • Use Case: When starting a new React project and needing a modern, accessible, and themeable UI, use this Skill to quickly establish a best-practice foundation.

Quick Start

Run the setup command to install Tailwind v4 and shadcn/ui in your React project.

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 CSS v4 with shadcn/ui in a React project?

To set up Tailwind CSS v4 with shadcn/ui, use this Skill to install dependencies and configure a four-step CSS variable architecture. It handles Vite plugin configuration and theming to establish a production-ready React UI foundation.

Does Tailwind v4 support dark mode with shadcn/ui theming?

Yes, Tailwind v4 supports dark mode with shadcn/ui by implementing a CSS variable architecture. This Skill configures the correct CSS variable mapping and @theme inline usage to ensure theme switching works properly.

Why does my shadcn/ui theme break after migrating to Tailwind v4?

Your shadcn/ui theme breaks after migrating to Tailwind v4 due to incorrect CSS variable mapping and missing @theme inline directives. This Skill enforces the correct four-step architecture to prevent these documented errors.

What is the correct CSS variable architecture for Tailwind v4 and shadcn/ui?

The correct CSS variable architecture for Tailwind v4 and shadcn/ui involves a four-step process mapping theme variables using @theme inline. This approach prevents configuration errors and ensures robust dark mode support.

Can I use Vite to configure Tailwind v4 and shadcn/ui without errors?

Yes, you can use Vite to configure Tailwind v4 and shadcn/ui without errors by applying the correct Vite plugin configuration. This Skill guides you through the setup and prevents 8 documented configuration errors.