summaryrefslogtreecommitdiff
path: root/ui/shadcn/.claude/commands/add.md
blob: 353b2299b12a17419872c3e0299fdd2a226e7a14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
description: Add shadcn/ui component to project
argument-hint: "[component-name] [variant]"
allowed-tools: Bash, Read, Write, Edit
---

Add shadcn/ui component: $ARGUMENTS

Steps:
1. Check if components.json exists
2. Install the specified component using shadcn CLI
3. Update imports and dependencies if needed
4. Show component usage examples

Available components: button, card, dialog, form, input, label, select, table, toast, etc.

Example: `/add button` or `/add dialog form`