A Ctrl+K / Cmd+K search that jumps to any action. Type to filter, arrows to move, Enter to run, Esc to close. Items can be grouped and carry extra search words.
Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.
| Prop | Type | Default | Description |
|---|---|---|---|
| open | boolean | Whether the palette is visible. | |
| onOpenChange | (open: boolean) => void | Called when it should open or close. | |
| items | CommandItem[] | Everything that can be searched. | |
| placeholder | string | "Type a command or search…" | Hint text in the empty search box. |
| hotkey | string | "k" | Key that opens it together with Ctrl or Cmd. Use "" to turn the shortcut off. |
| emptyText | string | "No results found." | Message shown when nothing matches. |