Command Palette
A keyboard-first search that jumps to a page, component or action.
Live preview · click to try it
Variants
2 named variants. Layer names match the names below.
DefaultCommand Palette / Default
CompactCommand Palette / Compact
States
Command Palette / Default
Command Palette / Typed
No matches for that search.
Command Palette / Empty
Searching…
Command Palette / Loading
The search could not be completed.
Command Palette / Error
Command Palette / Disabled
Command Palette / Focus
Usage
Do
- Jumping to a component or action without leaving the keyboard.
Don't
- Primary navigation for first-time visitors; keep the Navbar.
Properties
| Property | Type or options | Default |
|---|---|---|
| Variant | Default · Compact | Default |
| Placeholder | String | Go to a component |
| Items | Array of commands | Library pages |
Styles it uses
Surface/RaisedOverlay/VeilOverlay/ShadowInk/PrimaryInk/MutedAccent/SoftState/Focus
Text: Field · Body · Data Mono
Accessibility
- The field has a visible label.
- Results are a listbox, with a 3px State/Focus ring on the active item.
- Escape closes it.