Command palette
CoreBlockA complete keyboard driven action surface with search, grouped results, and shortcuts.
pnpm dlx shadcn@latest add https://wui.alann.works/r/command-palette.jsonAPI Reference
| Prop | Type | Default |
|---|---|---|
items* | CommandItem[]; placeholder?: string; onSelect?: (item: CommandItem) => void; onClose?: () => void; label?: string; /** Focus the search field on mount, for a palette that opens on demand. */ autoFocus?: boolean; } | required |