diff options
Diffstat (limited to 'ui/shadcn/.claude/commands/add.md')
| -rw-r--r-- | ui/shadcn/.claude/commands/add.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ui/shadcn/.claude/commands/add.md b/ui/shadcn/.claude/commands/add.md new file mode 100644 index 0000000..353b229 --- /dev/null +++ b/ui/shadcn/.claude/commands/add.md @@ -0,0 +1,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` |
