Command palette

Also called command menu or Cmd+K menu

A search box that opens with a shortcut like ⌘K and lets you find and run any command or page by typing a few letters.

What is Command palette?

A command palette is a keyboard-first launcher. Press ⌘K (Ctrl+K on Windows), a search field opens over the app, and the list of commands narrows as you type. Arrow keys move the highlight and Enter runs the command, so people can do almost anything without reaching for the mouse.

Add one when your app has more actions and pages than a toolbar can hold, as in editors, dashboards, and developer tools. It works alongside menus and buttons, which newer users still rely on, and showing each command's shortcut in the list helps people learn it.

Match loosely so 'new p' finds New project, rank recent commands first, and update the list on every keystroke. Pick a shortcut that does not clash with ones your app already uses, and add a visible Search button that shows the shortcut for people who don't know it.

Often confused with

Combobox
A combobox picks a value for one form field. A command palette searches and runs actions across the whole app.
All terms

Keyboard shortcut

A key combination that runs an action directly, like ⌘S to save or ⌘K to open search, so frequent users can skip the mouse.

Combobox

A text field with a dropdown list that filters as you type, so people can pick one option from a long list quickly.

Modal

A window that opens over the page, dims everything behind it, and blocks the rest of the interface until you finish or dismiss it.

Dropdown menu

A list of actions that drops down from a button when you click it, then closes as soon as you pick one.