Command palette

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.

CommandPalette3D props

PropTypeDefaultDescription
openbooleanWhether the palette is visible.
onOpenChange(open: boolean) => voidCalled when it should open or close.
itemsCommandItem[]Everything that can be searched.
placeholderstring"Type a command or search…"Hint text in the empty search box.
hotkeystring"k"Key that opens it together with Ctrl or Cmd. Use "" to turn the shortcut off.
emptyTextstring"No results found."Message shown when nothing matches.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks