
Tailwind V4 Shadcn
This is the setup guide you want bookmarked if you're using Tailwind v4 with shadcn/ui. It's production tested and built around the four-step architecture pattern that actually works: CSS variables at root, theme inline mappings, base layer styles, automatic dark mode. The author documents real results (70% token reduction, zero errors vs the usual 2-3 gotchas) and calls out the specific mistakes that break v4 projects, like putting root variables inside layer base or double-wrapping hsl values. Includes working templates for ThemeProvider, complete dependency lists, and a troubleshooting section for the plugin syntax issues that trip people up. Worth using just to avoid the tw-animate-css import error alone.
- skills.sh installs
- 8.2K
- GitHub stars
- 248
- last updated
- Aug 21, 2026
Install
$ npx -y skills add secondsky/claude-skills --skill tailwind-v4-shadcn --agent claude-codeInstalls into .claude/skills of the current project.
Files
Tailwind v4 + shadcn/ui Production Stack
Production-tested: WordPress Auditor (https://wordpress-auditor.webfonts.workers.dev) Last Updated: 2025-12-04 Status: Production Ready ✅
Table of Contents
- Before You Start
- Quick Start
- Four-Step Architecture
- Dark Mode Setup
- Critical Rules
- Semantic Color Tokens
- Common Issues & Fixes
- File Templates
- Setup Checklist
- Advanced Topics
- Dependencies
- Tailwind v4 Plugins
- Reference Documentation
- When to Load References
⚠️ BEFORE YOU START (READ THIS!)
CRITICAL FOR AI AGENTS: If you're Claude Code helping a user set up Tailwind v4:
Sponsors
Details
- Repository
- github.com/secondsky/claude-skills
- Categories
- Frontend Development, Code Review & Quality, Debugging, Design & UI/UX
- First seen
- May 16, 2026
More from secondsky/claude-skills
All 146- Aceternity Ui1.6K
- Vitest Testing1.3K
- Motion1.1K
- Playwright1.1K
- Api Testing910
- Responsive Web Design703
- Zod663
- Nano Banana Prompts626
- Image Optimization604
- Rest Api Design600
- Mobile First Design598
- Web Performance Optimization576
- Inspira Ui572
- Api Authentication549
- Code Review548
- Web Performance Audit542
- Vulnerability Scanning534
- Kpi Dashboard Design526
- Progressive Web App523
- Tanstack Table513
- Architecture Patterns508
- Api Rate Limiting507
- Api Security Hardening506
- Better Auth502