tailwind-v4-+-shadcn/ui-stack

Set up Tailwind v4 with shadcn/ui for React/Vite projects.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/lumacoder/open-skills --skill tailwind-v4-shadcn-ui-stack-lumacoder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tailwind-v4-+-shadcn/ui-stack
Source: https://github.com/lumacoder/open-skills/tree/main/bundles/skills/tailwind-v4-shadcn
Command: npx skills add https://github.com/lumacoder/open-skills --skill tailwind-v4-shadcn-ui-stack-lumacoder

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Tailwind v4 + shadcn/ui integration often requires manual setup and multiple moving parts; this Skill provides a production-ready stack and a clear four-step architecture to streamline setup, ensure consistent theming, and accelerate project onboarding.

Core Features & Use Cases

  • Production-ready setup for Tailwind v4 with shadcn/ui, including the mandatory four-step theming architecture, CSS variable mapping, and ready-made templates.
  • Migration guidance from Tailwind v3 to v4, with practical steps and templates to modernize themes and utilities.
  • Quick-start templates and a reproducible stack to speed up new project initialization and cross-team consistency.

Quick Start

Follow the guided setup to install Tailwind v4 and shadcn/ui in your React project.

Frequently Asked Questions about tailwind-v4-+-shadcn/ui-stack

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 React and Vite project?

Migrate Tailwind v3 to v4 by adopting a CSS-first architecture using @theme inline, mapping CSS variables, and integrating a ThemeProvider for dark mode and automatic theming.

How does the @tailwindcss/vite plugin work with shadcn/ui theming?

The @tailwindcss/vite plugin enables a CSS-first architecture using @theme inline to map CSS variables, working with a ThemeProvider to enable automatic theming and semantic colors for shadcn/ui components.

Can I migrate my existing Tailwind v3 theme to v4 without breaking shadcn/ui?

Yes, you can migrate from Tailwind v3 to v4 by following practical migration guidance that modernizes themes and utilities while applying a production-ready four-step theming architecture for shadcn/ui integration.

What is the required architecture for dark mode and automatic theming with Tailwind v4?

Dark mode and automatic theming require a CSS-first architecture using @theme inline combined with a ThemeProvider to map semantic colors, ensuring consistent theming across your React project.

Do I need manual CSS variable mapping to configure shadcn/ui with Tailwind v4?

Manual CSS variable mapping is structured through a clear four-step architecture using @theme inline, which maps semantic colors automatically with a ThemeProvider to ensure consistent theming.