Skip to content
UI & UX Design

How to Get Command Palettes Right

A searchable list of actions opened with a keyboard shortcut, letting users run commands by typing.

Priya Raghunathan Head of Design 2 min read 22 views
How to Get Command Palettes Right

Why does it matter?

Palettes scale better than menus in feature-rich products, but they must be accessible and discoverable.

What are the numbers?

  • Search-driven users type instead of navigating menus
  • Discoverability new users need another route to features
  • Accessibility palettes need combobox semantics and focus management
  • Fuzzy matching helps users find commands with partial terms

What should I do?

  1. Keep menus as well as a palette
  2. Announce results to assistive technology
  3. Support keyboard navigation fully
  4. Show shortcut hints in results
  5. Rank recent and frequent actions first
What to do and what to avoid with command palettes, side by side
Good practice against the usual mistakes, from the sources listed below.

What should I avoid?

Avoid:

  • Palette as the only route to features
  • Inaccessible custom widgets
  • Results that change unpredictably
  • Hidden shortcut with no hint

When should I get help?

Short answer Bring in help when products grow past simple menus.

Where this comes from

The figures and practices above come from the sources listed.

Working on something like this?

We take on UI & UX Design work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.

Where to go next

Spotted something wrong? Report an error on this page. We correct on the page and say what changed.

All services

The work behind this article, and what it costs.

Priya Raghunathan

Interface and identity. Writes about design systems, research, and why most navigation problems are structure problems.

Keep reading