Vibary.ai
← Vibe Coding

Command Palette Open

The palette drops a short distance into place with its results already filtering as it lands.

navigationfuturisticpremiuminteraction · finite · advanced · ~0.4s
Interactive · click to play
Variant

The animated component in this preview is rendered from the canonical file shown here. The surrounding demo shell only provides context and is not part of the copied code.

555 lines · react + motion only
import { useEffect, useId, useRef, useState } from "react";
import {
  AnimatePresence,
  motion,
  useReducedMotion,
  type Variants,
} from "motion/react";

About this pattern

Power-user navigation, and the moment where motion has to get out of the way fastest: the palette appears under hands that are already typing. So the drop is short, the spring is damped well past the wobble threshold, and the field takes focus while the surface is still travelling — by the time it stops, the first keystroke has already narrowed the list. The rows begin arriving a beat before the palette settles, each a couple of frames after the last, which reads as a list that was there rather than one being built. Filtering afterwards uses AnimatePresence popLayout so a row that stops matching leaves the flow immediately and the rows beneath close the gap in the same frame, instead of stepping down after the fade.

Command paletteQuick switcherGlobal search overlayKeyboard-first navigation

Where it shows up

Screens we drew to show where this motion usually sits. Illustrations, not captures of any product.

  • Ridgeline
    Issues
    Backlog
    Active
    Cycles
    Views
    IssuesNew
    Colourway picker drops a frameRID-412 · PriyaIn progress
    Receipt totals misalign on narrowRID-408 · MarcusTodo
    Session expires without warningRID-401 · DanaIn review
    Export queue stalls past 500 rowsRID-397 · NilsTodo
    Search ranks archived firstRID-390 · PriyaDone
    Type a command
    Create issue
    Assign to me
    Change status
    Open settings
    Command palette

    The palette drops in over the page with the first result already highlighted.

Related patterns