What problem does it solve?
Centralizes and automates working with shadcn/ui so teams can safely add, update, style, and audit UI components without breaking project aliases, Tailwind configuration, or composition rules. It prevents guesswork by providing project-aware guidance, enforcing composition and styling conventions, and using the official shadcn CLI to preview and apply changes.
Core Features & Use Cases
- Project-aware CLI integration: uses npx/pnpm/bun runners and npx shadcn info to discover framework, aliases, tailwind config, installed components, and icon library.
- Safe component installation and updates: supports add with --dry-run, --diff, and smart merge workflows to preview changes, preserve local edits, and choose overwrite/merge/skip strategies.
- Enforced coding rules & accessibility: includes rules for styling, forms, composition, and icons to ensure consistent use of FieldGroup, Field, semantic tokens, asChild/render differences, and accessibility titles.
- Registry and MCP support: can search/view registry items, fetch docs/examples, produce install commands, and run audits before installing third-party components.
- Preset management: guides switching or applying presets with clear prompts to avoid accidental overwrites and ensures correct base (radix vs base) handling.
Quick Start
Run npx shadcn@latest info in your project directory using the project's package runner to fetch project context and installed components.