Vibary.ai
← Vibe Coding

Keyboard Shortcut Flash

A key cap depresses briefly to teach the shortcut that just fired.

feedbacksubtlefuturisticautomatic · finite · intermediate · ~3.0s
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.

330 lines · react + motion only
import { useEffect, useState } from "react";
import { AnimatePresence, motion, useReducedMotion } from "motion/react";

/**
 * Vibary · Keyboard Shortcut Flash
 *
 * The action already happened — someone reached for the row menu. A
 * strip surfaces in the status bar, the caps sink once in chord order,

About this pattern

The acknowledgement for something already finished. Someone reached for the row menu, the action landed, and a strip surfaces in the status bar naming the chord that would have done it in one gesture. The caps sink 2px onto their own fixed base in chord order — the held cap goes down first and comes up last, the letter taps inside that hold — so the strip performs the combination instead of listing it. Then it retires on its own clock, with no button to press and nothing asking to be acknowledged. That is the whole design constraint: this fires after a task the person completed successfully, so it has to be ignorable. Nothing scales, nothing repeats, and the press tint is a separate layer fading over the cap rather than an interpolated color.

Shortcut hint after a menu actionStatus bar acknowledgementProgressive discoverabilityIgnorable in-product hint

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
    Issue tracker

    Doing something through the interface surfaces the equivalent key combination in passing chrome.

Related patterns