tailwind-v4-shadcn

Configure Tailwind CSS v4 with shadcn/ui using CSS variables for theming.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/vorluno/Vorluno-Planilla --skill tailwind-v4-shadcn-vorluno
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tailwind-v4-shadcn
Source: https://github.com/vorluno/Vorluno-Planilla/tree/main/.agents/skills/tailwind-v4-shadcn
Command: npx skills add https://github.com/vorluno/Vorluno-Planilla --skill tailwind-v4-shadcn-vorluno

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and templates (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, maintainable UI foundation.

Core Features & Use Cases

  • Production-Ready Stack: Integrates Tailwind v4 with shadcn/ui components using the recommended CSS variable architecture.
  • Error Prevention: Addresses 8 documented errors related to Tailwind v4, dark mode, and @apply directives.
  • Use Case: When starting a new React project, use this Skill to quickly set up a modern, accessible, and themeable UI system with Tailwind v4 and shadcn/ui, avoiding common pitfalls.

Quick Start

Use the tailwind-v4-shadcn skill to initialize 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 v4 with shadcn/ui in a React project?

To set up Tailwind v4 with shadcn/ui, you configure a CSS variable architecture for theming and dark mode using Vite. This integrates components using the recommended approach, ensuring a production-ready UI foundation for your React project.

Why does the @apply directive cause errors in Tailwind v4?

The @apply directive causes errors in Tailwind v4 due to incorrect configuration or dark mode conflicts. Using a CSS variable architecture resolves these specific issues and prevents common setup pitfalls during UI development.

How do I fix dark mode conflicts in shadcn/ui using Tailwind CSS v4?

Fix dark mode conflicts in shadcn/ui by implementing a CSS variable architecture for theming. This approach addresses configuration errors and ensures proper dark mode support within your Vite React project.

Can I use shadcn/ui components with Vite and Tailwind CSS v4?

Yes, you can use shadcn/ui components with Vite and Tailwind CSS v4. This configuration supports Vite projects specifically, integrating components using a CSS variable architecture to ensure production-ready, themeable UI development.

What is the recommended CSS variable architecture for shadcn/ui theming?

The recommended CSS variable architecture for shadcn/ui theming uses CSS variables to manage themes and dark mode. This structure streamlines Tailwind v4 integration and prevents eight documented configuration and directive errors.

Does Tailwind v4 support dark mode out of the box with shadcn/ui?

Tailwind v4 supports dark mode with shadcn/ui when configured with a CSS variable architecture. Proper setup is required to avoid conflicts and ensure the production-ready UI system functions correctly across themes.