Command palette

CoreBlock

A complete keyboard driven action surface with search, grouped results, and shortcuts.

pnpm dlx shadcn@latest add https://wui.alann.works/r/command-palette.json
⌘ K

API Reference

PropTypeDefault
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
Categories
blocks
Dependencies
lucide-reactmotion