Shadcn
shadcn/ui component library patterns with Radix UI primitives and Tailwind CSS. Use when creating tables, forms, dialogs, cards, buttons, or any UI component using shadcn/ui, installing shadcn components, or styling with shadcn patterns.
Install
/plugin marketplace add frankxai/claude-skills-libraryThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add frankxai/claude-skills-library --skill shadcngit clone --depth 1 https://github.com/frankxai/claude-skills-library.git /tmp/claude-skills-library
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills-library/packs/stack-kits/skills/shadcn ~/.claude/skills/shadcnPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# shadcn/ui Development Guidelines Best practices for using shadcn/ui components with Tailwind CSS and Radix UI primitives. ## Core Principles 1. **Copy, Don't Install**: Components are copied to your project, not installed as dependencies 2. **Customizable**: Modify components directly in your codebase 3. **Accessible**: Built on Radix UI primitives with ARIA support 4. **Type-Safe**: Full TypeScript support 5. **Composable**: Build complex UIs from simple primitives ## Installation ### Initial Setup ```bash npx shadcn@latest init ``` ### Add Components ```bash # Add individual components npx shadcn@latest add button npx shadcn@latest add form npx shadcn@latest add dialog # Add multiple npx shadcn@latest add button card dialog ``` ### Troubleshooting #### npm Cache Errors (ENOTEMPTY) If `npx shadcn@latest add` fails with npm cache errors like `ENOTEMPTY` or `syscall rename`: **Solution 1: Clear npm cache** ```bash npm cache clean --force npx shadcn@latest add table ``` **Solution 2: Use pnpm (recommended)** ```bash pnpm dlx shadcn@latest add table ``` **Solution 3: Use yarn** ```bash yarn dlx shadcn@latest add table ``` **Solution 4: Manual component installation** Visit the [shadcn/ui documentation](https://ui.shadcn.com/docs/components) for the specific component and copy the code directly into your project. ## Component Usage ### Button & Card
Details
- Skill name
shadcn- Repository
- frankxai/claude-skills-library
- Path
packs/stack-kits/skills/shadcn/SKILL.md- License
- MIT
- Repo updated
- 18 November 2026
FAQ
What does the Shadcn skill do?
shadcn/ui component library patterns with Radix UI primitives and Tailwind CSS. Use when creating tables, forms, dialogs, cards, buttons, or any UI component using shadcn/ui, installing shadcn components, or styling with shadcn patterns.
How do I install the Shadcn skill?
Claude Code plugin: /plugin marketplace add frankxai/claude-skills-library. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Shadcn popular?
It lives in frankxai/claude-skills-library, which has 48 GitHub stars and 6 forks.
Related skills
Acos Meta
48frankxai/claude-skills-library
ACOS self-description and configuration skill. Documents how ACOS works, how to extend it, how to add new skills/commands/agents, and how to debug the hook system. Use when building new ACOS capabilities, understanding the system architecture, or onboarding to ACOS for the first time.
Acos Visual Gen
48frankxai/claude-skills-library
Generate research-grounded visuals using the InfoGenius pipeline. Use when creating infographics, diagrams, educational visuals, or any image that benefits from factual accuracy. Supports 8 visual styles (3D, technical, minimalist, photorealistic, futuristic, vintage, cartoon, standard) and 4 audience levels.
Agent Harness Construction
48frankxai/claude-skills-library
Shape an agent's tools, observations, and recovery without adding a second coordinator. Use when defining a tool, a skill, a hook, or a worktree lane.
Shader Backdrop
48frankxai/claude-skills-library
Build a slow, token-coloured shader backdrop behind a headline — mesh gradient, grain gradient, or another Paper Shaders field — with a CSS poster underneath and a designed still. Use when someone asks for an animated gradient background, a mesh or aurora gradient, a grainy gradient hero, a moving background, or shares a ShaderGradient or shadergradient.co link; and when translating a ShaderGradient configuration into a lighter engine. Starts and ends in gpu-surface.
React
48frankxai/claude-skills-library
Core React 19 patterns including hooks, Suspense, lazy loading, component structure, TypeScript best practices, and performance optimization. Use when working with React components, hooks, lazy loading, Suspense boundaries, or React-specific TypeScript patterns.
Tailwind
48frankxai/claude-skills-library
Tailwind CSS v4.2 browser-runtime patterns for HyperFrames compositions. Use when scaffolding or editing projects created with `hyperframes init --tailwind`, writing Tailwind utility classes in composition HTML, adding CSS-first Tailwind v4 theme tokens, debugging v3 vs v4 syntax, or deciding when to compile Tailwind to CSS instead of using the browser runtime.
Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.