tailwind-v4-shadcn

Configures Tailwind v4 with shadcn/ui for React and Vite projects.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a ready-to-use, production-tested baseline to configure Tailwind v4 with shadcn/ui, Vite, and React, reducing setup time and preventing common integration issues.

Core Features & Use Cases

  • Officially supports Tailwind v4 + shadcn/ui with Vite and React.
  • Handles dark mode integration via ThemeProvider and CSS variable theming.
  • Useful for new projects, migrations from v3, and debugging theming problems.

Quick Start

Follow this exact setup to bootstrap Tailwind v4 + shadcn/ui in a new 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 need to configure Vite, install the proper Tailwind plugin, and use CSS variable-based theming for a production-ready React environment. This process provides a zero-config baseline.

What is the best way to migrate a React project from Tailwind v3 to v4 with shadcn/ui?

Migrating from Tailwind v3 to v4 with shadcn/ui involves updating your Vite configuration and transitioning to a variable-based theming approach. This setup prevents common integration issues and handles dark mode via a ThemeProvider.

Does shadcn/ui work with Tailwind v4 and Vite for dark mode?

Yes, shadcn/ui works with Tailwind v4 and Vite. Dark mode integration is handled via a ThemeProvider and CSS variable theming, ensuring your React project supports light and dark themes out of the box.

Why does my Tailwind v4 theming not work with shadcn/ui?

Tailwind v4 theming issues with shadcn/ui often stem from missing CSS variables or an incorrect plugin setup. Applying a production-tested baseline configuration ensures proper variable-based theming and resolves common v4 gotchas.

Can I use a zero-config approach for Tailwind v4 and shadcn/ui setup?

Yes, you can use a zero-config approach for Tailwind v4 and shadcn/ui. This setup provides a ready-to-use baseline that handles Vite configuration, theming, and dark mode integration without requiring manual plugin tuning.

Do I need a ThemeProvider for dark mode with Tailwind v4 and shadcn/ui?

Yes, a ThemeProvider is required for dark mode with Tailwind v4 and shadcn/ui. It works alongside CSS variable theming to toggle between light and dark modes effectively in your React application.