tailwind-v4-shadcn

Set up Tailwind CSS v4 with shadcn/ui, Vite, and React.

1|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/Bigdrops/bigdrops-app --skill tailwind-v4-shadcn-bigdrops
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tailwind-v4-shadcn
Source: https://github.com/Bigdrops/bigdrops-app/tree/main/.agents/skills/tailwind-v4-shadcn
Command: npx skills add https://github.com/Bigdrops/bigdrops-app --skill tailwind-v4-shadcn-bigdrops

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tailwindcss, @tailwindcss/vite, clsx, tailwind-merge, @radix-ui/react-*, lucide-react, react, react-dom, @types/node, @vitejs/plugin-react, vite, typescript, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the setup of Tailwind CSS v4 with shadcn/ui, ensuring a secure and efficient development environment.

Core Features & Use Cases

  • Tailwind v4 Setup: Automated setup for Tailwind v4 with shadcn/ui, Vite, and React.
  • Dark Mode Integration: Includes setup for dark mode functionality.
  • Common Issues Prevention: Handles common pitfalls like tw-animate-css import error, duplicate @layer base blocks, and incorrect template selection.

Quick Start

Initialize the Tailwind v4 setup by running the skill command.

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

To set up Tailwind CSS v4 with shadcn/ui and Vite, you need to install specific dependencies and configure your Vite environment, components.json, and vite.config.ts. This setup provides a production-tested configuration for React projects.

Does this Tailwind v4 setup support dark mode?

Yes, this Tailwind v4 setup fully supports dark mode. It handles dark mode integration, CSS variable architecture, and theme switching to ensure secure and efficient styling across your React application.

How do I migrate from Tailwind v3 to Tailwind v4 using shadcn/ui?

Migrating from Tailwind v3 to v4 with shadcn/ui involves updating your configuration and dependencies. This setup handles the migration process while preventing common pitfalls like duplicate @layer base blocks and incorrect template selection.

Why does my Tailwind v4 shadcn/ui setup throw a tw-animate-css import error?

A tw-animate-css import error in Tailwind v4 often occurs due to incorrect configuration. This setup specifically prevents common issues like tw-animate-css import errors, duplicate @layer base blocks, and incorrect template selection.

What dependencies are required to configure Tailwind v4 with shadcn/ui?

Required dependencies to configure Tailwind v4 with shadcn/ui include tailwindcss, @tailwindcss/vite, clsx, tailwind-merge, Radix UI components, lucide-react, and standard Vite React TypeScript packages.

Can I use Tailwind v4 and shadcn/ui without manually configuring CSS variables?

You cannot skip CSS variable configuration entirely, but this setup automates the architecture for you. It establishes the necessary CSS variable architecture required for shadcn/ui theming and dark mode functionality.