Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

shadcn-components

verified

This skill should be used when the user asks to "add a button", "create a dialog", "use card component", "shadcn accordion", "dropdown menu", "add alert", "tooltip component", or mentions specific shadcn/ui component usage, customization, or implementation patterns.

View on GitHub

Marketplace

functional-claude

nthplusio/functional-claude

Plugin

shadcn-dev

Repository
Verified Org

nthplusio/functional-claude

plugins/shadcn-dev/skills/shadcn-components/SKILL.md

Last Verified

February 2, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/nthplusio/functional-claude/blob/main/plugins/shadcn-dev/skills/shadcn-components/SKILL.md -a claude-code --skill shadcn-components

Installation paths:

Claude
.claude/skills/shadcn-components/
Powered by add-skill CLI

Instructions

# shadcn/ui Component Usage

Guide for using, customizing, and composing shadcn/ui components in React applications.

## Adding Components

### CLI Installation

```bash
# Add single component
npx shadcn@latest add button

# Add multiple components
npx shadcn@latest add button card dialog input

# Add with dependencies
npx shadcn@latest add form  # Adds form + label + input
```

### Manual Installation

Components can be copied directly from https://ui.shadcn.com/docs/components

## Component Categories

### Form Components

| Component | Use Case |
|-----------|----------|
| `input` | Text input fields |
| `textarea` | Multi-line text |
| `select` | Dropdown selection |
| `checkbox` | Boolean toggle |
| `radio-group` | Single selection from options |
| `switch` | On/off toggle |
| `slider` | Range selection |
| `form` | Form validation wrapper |

### Layout Components

| Component | Use Case |
|-----------|----------|
| `card` | Content container |
| `separator` | Visual divider |
| `aspect-ratio` | Fixed aspect container |
| `scroll-area` | Custom scrollbars |
| `resizable` | Resizable panels |

### Feedback Components

| Component | Use Case |
|-----------|----------|
| `alert` | Important messages |
| `badge` | Status indicators |
| `progress` | Loading progress |
| `skeleton` | Loading placeholders |
| `toast/sonner` | Notifications |

### Overlay Components

| Component | Use Case |
|-----------|----------|
| `dialog` | Modal windows |
| `alert-dialog` | Confirmation dialogs |
| `sheet` | Side panels |
| `drawer` | Bottom/side drawers |
| `popover` | Floating content |
| `tooltip` | Hover information |
| `hover-card` | Rich hover content |

### Navigation Components

| Component | Use Case |
|-----------|----------|
| `tabs` | Tabbed interfaces |
| `navigation-menu` | Main navigation |
| `breadcrumb` | Location breadcrumbs |
| `pagination` | Page navigation |
| `command` | Command palette |
| `menubar` | Application menu |
| `context-menu` | Right-click menu |

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
6348 chars