
Shadcn
Shadcn/ui skill that adds, searches, debugs, and styles components and enforces project-specific UI rules.
- install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
- 33
- skills.sh installs
- 150.5K
- GitHub stars
- 128.7K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers component adding, searching, fixing, styling, and composition, plus chat interfaces built from message primitives
- Provides project context via
npx shadcn@latest info --jsonand component docs vianpx shadcn@latest docs <component> - Enforces rules like
FieldGroupfor forms,data-iconon button icons, semantic color tokens, andgap-*overspace-y-* - Designed for projects using shadcn/ui, component registries, presets, or any project with a
components.jsonfile
Install
$ npx -y skills add shadcn-ui/ui --skill shadcn -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
shadcn/ui
A framework for building ui, components and design systems. Components are added as source code to the user's project via the CLI.
IMPORTANT: Run all CLI commands using the project's package runner:
npx shadcn@latest,pnpm dlx shadcn@latest, orbunx --bun shadcn@latest— based on the project'spackageManager. Examples below usenpx shadcn@latestbut substitute the correct runner for the project.
Current Project Context
!`npx shadcn@latest info --json`
The JSON above contains the project config and installed components. Use npx shadcn@latest docs <component> to get documentation and example URLs for any component.
Principles
- Use existing components first. Use
npx shadcn@latest searchto check registries before writing custom UI. Check community registries too. - Compose, don't reinvent. Settings page = Tabs + Card + form controls. Dashboard = Sidebar + Card + Chart + Table.
- Use built-in variants before custom styles.
variant="outline",size="sm", etc. - Use semantic colors.
bg-primary,text-muted-foreground— never raw values likebg-blue-500.
Critical Rules
Details
- Repository
- github.com/shadcn-ui/ui
- Category
- Frontend & UI Code
- First seen
- May 16, 2026
More from shadcn-ui/ui
All 2Similar to Shadcn
More Frontend & UI Code
tool-uiassistant-ui/tool-ui762 installsFind, install, and wire Tool UI components into React apps with compatibility checks and runtime setup.
ui-componentsyonatangross/orchestkit1.5K installsShadcn/ui and Radix Primitives patterns for accessible component libraries, design system foundations, and v4 style customization.
ui-stylingnextlevelbuilder/ui-ux-pro-max-skill52K installsPragmatic styling guide pairing shadcn/ui components with Tailwind CSS and canvas-based visual design.
ui-crafteduclopez/ui-craft1.7K installsShips a UI design skill that enforces non-generic, AI-slop-free interface work through discovery, tokens, and review gates.
nextjs-shadcnlaguagu/claude-code-nextjs-skills855 installsBuilds Next.js interfaces with shadcn/ui, choosing visual direction, typography, and effects to fit each product.
nuxt-uionmax/nuxt-skills7.3K installsVue component library skill for @nuxt/ui v4 with Tailwind theming, MCP-driven API lookup, and per-task reference routing.