tailwind-v4-shadcn

Configure Tailwind v4 with shadcn/ui, Vite, dark mode, and semantic tokens for React.

183|58|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/nicepkg/auto-company --skill tailwind-v4-shadcn-nicepkg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tailwind-v4-shadcn
Source: https://github.com/nicepkg/auto-company/tree/main/.claude/skills/tailwind-v4-shadcn
Command: npx skills add https://github.com/nicepkg/auto-company --skill tailwind-v4-shadcn-nicepkg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill accelerates the setup of a production-ready Tailwind v4 + shadcn/ui stack for React projects, eliminating the repetitive, error-prone steps of configuring Vite, tailwind, shadcn UI components, theming, and dark-mode support.

Core Features & Use Cases

  • Production-tested setup for Tailwind v4 with shadcn/ui, Vite, and React, including CSS variable theming and dark mode integration.
  • Clear migration patterns and best practices for semantic tokens, color system, and plugin usage.
  • Ready-to-run templates and guidance for a scalable UI architecture, theme provider wiring, and development workflows.

Quick Start

Clone the repository and run the provided setup sequence to bootstrap a production-ready Tailwind v4 + shadcn/ui stack with Vite and React.

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

To set up Tailwind v4 with shadcn/ui and Vite, apply a 4-step architecture that configures CSS variables using @theme inline mapping and integrates a ThemeProvider for theming and dark mode. This production-ready stack eliminates repetitive manual configuration errors during project bootstrap.

What is the best way to configure dark mode using Tailwind v4 and shadcn/ui?

The best way to configure dark mode with Tailwind v4 and shadcn/ui is by wiring a dedicated ThemeProvider and utilizing CSS variables mapped through @theme inline. This approach ensures semantic color tokens are correctly applied and toggled across your React application.

How do I migrate legacy Tailwind config to semantic color tokens for shadcn/ui?

Migrating legacy Tailwind config to semantic color tokens requires removing old configuration files and mapping color values into CSS variables using the @theme inline directive. This migration pattern aligns your React project with shadcn/ui's theming architecture.

Does Tailwind v4 shadcn/ui setup include Typography and Forms plugin integration?

Yes, the Tailwind v4 shadcn/ui setup includes full integration of the Typography and Forms plugins. It configures these plugins alongside Vite and React to ensure a production-ready UI architecture with proper text styling and form element handling.

Can I use this Tailwind v4 and shadcn/ui setup on macOS during new project bootstrap?

Yes, you can use this Tailwind v4 and shadcn/ui setup on macOS during new project bootstrap. The configuration sequence is specifically applied to macOS environments to wire Vite, React, dark mode providers, and semantic tokens effectively.