Skip to content

Command Palette

A keyboard-first search that jumps to a page, component or action.

Overlays2 variants7 statesLight + DarkWide · Medium · Compactv1.0
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

PropertyType or optionsDefault
VariantDefault · CompactDefault
PlaceholderStringGo to a component
ItemsArray of commandsLibrary 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.

Create a free website with Framer, the website builder loved by startups, designers and agencies.