What problem does it solve?
This Skill guides you through initializing shadcn/ui in React projects (Next.js, Vite, Astro), including setting up Tailwind CSS v4, path aliases, framework detection, and installation validation. It helps avoid misconfigurations and reduces setup time.
Core Features & Use Cases
- Framework auto-detection and framework-specific setup steps (Next.js, Vite, Astro)
- Tailwind CSS v4 installation and tailwind config guidance
- Path alias configuration to simplify component imports
- Validation script to verify installation and ensure essential files exist
- Use Case: Start a new shadcn/ui project fast and consistently across frameworks
Quick Start
Run initialization with defaults: npx shadcn@latest init -d in your React project, follow prompts, and confirm the following files are created: components/ui/button.tsx (or similar), lib/utils.ts, and components.json.