shadcn-ui
Installation
SKILL.md
shadcn/ui Component Library
shadcn/ui is a collection of beautifully-designed, accessible components and a code distribution platform. It is built with TypeScript, Tailwind CSS, and Radix UI primitives. It supports multiple frameworks including Next.js, Vite, Remix, Astro, and more. Open Source. Open Code. AI-Ready. It also comes with a command-line tool to install and manage components and a registry system to publish and distribute code.
Key Principles
- Open Code: Components are copied into your project, not installed as dependencies
- Composition: Build complex UIs by composing simple components
- Distribution: CLI and registry system for easy component management
- Beautiful Defaults: Production-ready styling out of the box
- AI-Ready: Designed to work well with AI assistants
Quick Reference
CLI Commands
# Initialize shadcn/ui in your project
npx shadcn@latest init