Design System
Overlays

Command

A searchable command palette for finding and running actions from the keyboard. Group results by area and show the shortcut alongside anything that has one.

Purpose

The palette is for people who know what they want to do and would rather type it than navigate to it. It complements the sidebar; it does not replace it.

Palette

Best practices

Do

  • Always render a CommandEmpty — a palette with no feedback reads as broken.
  • Group by area and show shortcuts where they exist.

Don't

  • Make the palette the only route to an action.
  • List every action in the product; rank by what people actually do.

Accessibility & keyboard

  • Keyboard: type to filter; arrow keys move; Enter runs the highlighted item; Esc closes.
  • The list is a listbox, and the highlighted option is announced as you move.

Every Command part and prop in Storybook

On this page