This handles shadcn/ui component installation and wiring after you've set up your theme infrastructure with tailwind-theme-builder. It knows the installation order (foundation components before feature components), manages external dependencies like react-hook-form and sonner, and includes documented fixes for common gotchas like Radix Select breaking on empty strings and Lucide icons getting tree-shaken in production. The workflow is straightforward: assess what UI patterns you need (forms, data tables, navigation), install the right component sets, then combine them into working recipes. The references include a component catalogue and complete pattern examples for contact forms, CRUD modals, and data tables with sorting.

skills.sh installs
3.6K
GitHub stars
1.1K
last updated
Aug 21, 2026

Install

$ npx -y skills add jezweb/claude-skills --skill shadcn-ui --agent claude-code

Installs into .claude/skills of the current project.

Files

shadcn/ui Components

Add shadcn/ui components to a themed React project. This skill runs AFTER tailwind-theme-builder has set up CSS variables, ThemeProvider, and dark mode. It handles component installation, customisation, and combining components into working patterns.

Prerequisite: Theme infrastructure must exist (CSS variables, components.json, cn() utility). Use tailwind-theme-builder first if not set up.

Installation Order

Install components in dependency order. Foundation components first, then feature components:

Foundation (install first)

pnpm dlx shadcn@latest add button
pnpm dlx shadcn@latest add input label
pnpm dlx shadcn@latest add card

Feature Components (install as needed)

# Forms
pnpm dlx shadcn@latest add form        # needs: react-hook-form, zod, @hookform/resolvers
pnpm dlx shadcn@latest add textarea select checkbox switch

# Feedback
pnpm dlx shadcn@latest add toast        # needs: sonner
pnpm dlx shadcn@latest add alert badge

# Overlay
pnpm dlx shadcn@latest add dialog sheet popover dropdown-menu

Sponsors

Details

Repository
github.com/jezweb/claude-skills
Categories
Frontend Development, Cloud & Infrastructure
First seen
May 16, 2026

More from jezweb/claude-skills

All 166
1forcedotcom avatarimplementing-ui-bundle-agentforce-conversation-clientforcedotcom/sf-skillsUse this skill when the user asks to add, embed, integrate, configure, style, or remove an agent, chatbot, chat widget, conversation client, or AI assistant in 3.5Kskills.sh installs
2jezweb avatartailwind-theme-builderjezweb/claude-skillsSet up Tailwind v4 + shadcn/ui themed UI with dark mode. Install deps, configure CSS variables via @theme inline, wire dark mode toggle, verify. Use whenever th3.3Kskills.sh installs
3samhvw8 avatarui-design-systemsamhvw8/dot-claudeReact UI component systems with TailwindCSS + Radix + shadcn/ui. Stack: TailwindCSS (styling), Radix UI (primitives), shadcn/ui (components), React/Next.js. Cap3.2Kskills.sh installs
4browserbase avatarui-testbrowserbase/skillsAI-powered adversarial UI testing via the browse CLI. Analyzes git diffs to test only what changed, or explores the full app to find bugs. Tests functional corr3.1Kskills.sh installs
5freshtechbro avataranimated-component-librariesfreshtechbro/claudedesignskillsPre-built animated React component collections combining Magic UI (150+ TypeScript/Tailwind/Motion components) and React Bits (90+ minimal-dependency animated c3.1Kskills.sh installs
6chakra-ui avatarchakra-ui-refactorchakra-ui/chakra-uiReview, convert, and improve UI code using Chakra UI v3. Use this skill whenever a user wants to review Chakra UI code for issues, convert plain HTML/CSS, Tailw2.9Kskills.sh installs