Use when
- Users need to traverse a broad product surface quickly.
- Commands can be named and filtered predictably.
Open a searchable modal command surface that lists actions and destinations, supports filtering, and clearly previews what each command does.
Experienced users need a fast keyboard-first way to jump to actions, destinations, and objects across a large product.
The full lab is intentionally loaded on request. That keeps this reading page fast while preserving the strong and weak states, keyboard checks, and failure scenarios.
The product has many actions spread across menus and pages.
Open a searchable modal command surface that lists actions and destinations, supports filtering, and clearly previews what each command does.
Closed state with discoverable trigger.
No mouse-accessible trigger.
Use dialog semantics with a clear name and modal behavior when the rest of the page is inert.
GitHub Docs - checked
GitHub documents keyboard opening, scoped suggestions, command mode, arrow-key highlighting, Enter activation, and Escape dismissal.
Microsoft Visual Studio Code - checked
VS Code documents a keyboard-first command palette for commands, files, symbols, and command discovery in one interactive window.
W3C Web Accessibility Initiative - checked
APG dialog and listbox patterns define focus, Escape, active option, and semantic requirements used by accessible palette implementations.
Source trail checked: