Command
Command palette built on cmdk with dialog and input-group integration.
Default
Command Palette
Search for a command to run...
Empty State
Grouped
Inline
With Icons
Installation
npx shadcn@latest add @byronwade/commandProps
| Prop | Type | Default | Description |
|---|---|---|---|
| open | boolean | — | CommandDialog: controlled open state. |
| onOpenChange | (open: boolean) => void | — | CommandDialog: fires when the dialog opens or closes. |
| title | string | "Command Palette" | CommandDialog: visually-hidden accessible title. |
| description | string | — | CommandDialog: visually-hidden accessible description. |
| onSelect | (value: string) => void | — | CommandItem: fires when the item is chosen via click or Enter. |