Motion· 3 of 25

3 of 25

Keep keyboard input responsive

When a shortcut opens a command palette, move focus into the field and accept the next keystroke while the panel settles.

Do0ms · focus
Don’t180ms · focus

DoFocus on open. First keystrokes land. 0ms to focus · 180ms entrance — “op” appears in the field

Don’tFocus after entrance. First keystrokes are lost. 180ms to focus · 180ms entrance — the first keystrokes are lost

Or press K while the demo has focus

Reduced motion: end states only, as your setting asks.

Before you ship

  • Does the first character appear in the query?
  • Where does focus return after Escape during entry?
  • Can the user see the currently focused control throughout?

Next

Preserve feedback with reduced motionMotion · 4 of 25J