Search and run commands from the keyboard
A modal launcher that searches a grouped command list. Filtering matches labels, descriptions, and hidden keywords, so “changelog” can find a command named “Project Journal”. The arrow keys wrap through results, Enter runs the highlighted command, and ⌘ K toggles the palette from anywhere on the page.
Default
Try the hotkey. It is bound globally on this page.
Anatomy
Commands carry an optional icon, a label, a description line, and a shortcut array rendered as key chips on the right. Disabled commands stay visible for discoverability but are skipped by the keyboard highlight (“Export tokens” in these examples). Group headings are quiet by design; the labels do the work.
Without the hotkey
Set hotkey={false} when the host app already owns ⌘K and wants to open the palette itself.
Empty and loading
Both states replace the list with a single centred status row. Pair loading with onSearchChange and manualFiltering for server-backed search.
Keyboard
↑ ↓ move through results and wrap at the ends · Home and End jump to the first and last · ↵ runs the highlighted command · esc closes. The same hints appear in the palette footer, which hides on narrow screens.