tailwind-v4-shadcn

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

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/MediaAskeyDOJO/sakuteki-site --skill tailwind-v4-shadcn-mediaaskeydojo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tailwind-v4-shadcn
Source: https://github.com/MediaAskeyDOJO/sakuteki-site/tree/main/.skills/source/tailwind-v4-shadcn
Command: npx skills add https://github.com/MediaAskeyDOJO/sakuteki-site --skill tailwind-v4-shadcn-mediaaskeydojo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @tailwindcss/vite, tw-animate-css, @types/node, and includes scripts (resource) and references (resource) and templates (resource) components.

What problem does it solve?

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

Core Features & Use Cases

  • Production-Ready Stack: Integrates Tailwind v4 and shadcn/ui with a proven CSS variable architecture for theming.
  • Error Prevention: Addresses 8 documented errors related to Tailwind v4, dark mode, and shadcn/ui integration.
  • Use Case: When starting a new React project and needing a fast, reliable way to set up Tailwind v4 and shadcn/ui, or when encountering issues like broken dark mode or CSS variable conflicts in an existing setup.

Quick Start

Run the setup command to install Tailwind v4 and shadcn/ui dependencies and configure your 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 configure Tailwind CSS v4 with shadcn/ui in a Vite React project?

Configuring Tailwind v4 with shadcn/ui requires installing specific npm dependencies, adding the Tailwind Vite plugin, and mapping CSS variables to establish a production-ready theming architecture.

Why does dark mode break when integrating shadcn/ui and Tailwind v4?

Dark mode breaks during shadcn/ui and Tailwind v4 integration due to CSS variable mapping conflicts, which can be resolved by implementing a proper CSS-first theming architecture and addressing documented dependency errors.

What dependencies are required to use Tailwind CSS v4 and shadcn/ui?

Required dependencies for Tailwind v4 and shadcn/ui include @tailwindcss/vite for the Vite plugin, tw-animate-css for animations, and @types/node for environment support to prevent integration conflicts.

Does Tailwind CSS v4 work with shadcn/ui for React UI development?

Tailwind CSS v4 works seamlessly with shadcn/ui for React UI development by leveraging a CSS-first theming architecture and specific Vite plugin configuration to ensure accurate styling and dark mode implementation.

What is the best way to fix CSS variable conflicts in shadcn/ui?

The best way to fix CSS variable conflicts in shadcn/ui is to adopt a CSS-first theming architecture that correctly maps variables for Tailwind v4, preventing common configuration errors and dependency issues.