New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Install and configure shadcn/ui components for themed React projects, with recipes for forms, tables, and navigation.

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

What it does

  • Covers component selection, dependency-ordered installation, and external package requirements for each component group
  • Includes known gotchas for Radix Select empty values, React Hook Form null handling, Lucide tree-shaking, and Dialog width overrides
  • Enforces semantic theme tokens over raw Tailwind colours when customising variants and overrides
  • Designed for projects where tailwind-theme-builder has already set up CSS variables, ThemeProvider, and dark mode

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

Repository
github.com/jezweb/claude-skills
Categories
Frontend & UI Code, Design & UI/UX
First seen
May 16, 2026

More from jezweb/claude-skills

All 64

Similar to Shadcn Ui

More Frontend & UI Code