This skill gives an agent working knowledge of shadcn/ui, the collection of copy-into-your-project components built on Radix UI or Base UI and Tailwind CSS. It covers browsing the catalog through the shadcn MCP tools, installing with npx shadcn@latest, and configuring components.json.
It also explains the cn() helper, theme variables, cva variants, blocks such as login and dashboard layouts, and the checks to run before committing.
What You Get
- Steps for browsing components, metadata, demos and registries through the shadcn MCP tools
- CLI commands for init, create and add, with what each one writes
- A theming and variant guide built on CSS variables, cn() and class-variance-authority
- Block categories for calendar, dashboard, login, sidebar and products
- A troubleshooting list for import errors, style conflicts and missing dependencies
Common Use Cases
- Setting up shadcn/ui in a new or existing React project
- Building forms, dialogs and data tables from shadcn components
- Adding a login, dashboard or sidebar block and adjusting it to a brand theme
What Makes It Unique
The skill pairs shadcn CLI guidance with the shadcn MCP tool names, and it covers the Radix UI or Base UI choice, new visual styles and custom registries. It also ships a verify-setup script and resource guides for setup, catalog, customization and migration.
Under The Hood
The skill is mostly instructions that tell the agent to call shadcn MCP tools and to run npx shadcn@latest commands, which download component source and install packages. A bundled verify-setup shell script checks a project’s configuration. The agent reads and writes files in components/ui, components.json and the Tailwind setup, and runs tsc and the linter.