
N° 0969 · nav
Step Progress Bar is a menu animation. It responds to click. Palettes: Studio, On air, Moss, Sand and Slate.
The script rebuilds each <li> from its text: steps before 'done' (and not current) become buttons with a tick and an aria-label ('Step 2, Details, done. Go back to it'); the current step is a span with aria-current=step; later steps are spans with a hidden 'not started'. Every li but the last has a 4 px rail (::before) and a fill (::after) that scales from 0 to 1 over 0.45 s when the li is .is-done. A container query under 600 px stacks the list and turns the rails vertical (scaleY). Continue marks the current step done and moves on; going back keeps later steps done.
The preview is the shipped element inside a neutral demo page. Hover, click, focus: the one interaction it is about is live.
Token sets re-tint it live. The prompt carries the one you chose.
A paste-in snippet, or a component for Next.js, React, Vue, Astro, WordPress, Shopify or Webflow.
It quotes the markup, styles and script verbatim with the tokens and the rules that keep it self-contained.
It inherits your page's font and width; the tokens live on :root; several instances share one script.

N° 0969 · nav

N° 0818 · nav

N° 0821 · nav

N° 0820 · nav

N° 0819 · nav

N° 0424 · nav

N° 0425 · nav

N° 0426 · nav

N° 0703 · independent opticians

N° 0576 · contact

N° 0468 · listings

N° 0520 · features

N° 0173 · timeline

N° 0952 · input

N° 0837 · text

N° 0800 · toggle