Shuffle Panel Menu

group .........
Menus and navigation
human .........
/lab/shuffle-panel-menu

── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────

A side panel whose every label scrambles into place. Each character runs its own interval swapping in a random letter, and the interval is torn down on a per-character delay that grows by 150ms down the word, so the text resolves left to right rather than snapping back at once. The highlight plate behind a link is not a fixed width: each link is measured after mount and its plate sized to that width plus thirty, with the meta label parked just past it, so a long word and a short one both get a plate that fits. Items slide in from minus a hundred pixels on a fifty millisecond cascade, and hovering a row walks its meta text through a colour flip one character at a time.

── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────

  • * Each character resolves on its own clock

    Every char gets its own interval and its own teardown delay, growing 150ms per position. That growing delay is what makes the word settle left to right instead of unscrambling all at once.

  • * The plate is measured, not assumed

    Link widths are read after mount and the highlight sized to width + 30, with the meta label placed at width + 40. A fixed plate would either clip the long labels or float past the short ones.

  • * Timers are tracked, not fired and forgotten

    Every interval and timeout is held in a set and cleared on unmount. The source leaks them freely, which in a React tree would keep writing to detached nodes after navigation.