
N° 0969 · nav
Scroll-spy Table of Contents is a scroll-aware navbar. It responds to scroll and indicator. Palettes: Paper, Mint on ink, Moss, Blush and Orchid.
Root margin `-20% 0px -70% 0px` makes the band near the top of the scroller the trigger zone; the last heading to enter it wins. The marker is set to the link's box at once, then WAAPI plays `translateY` + `scaleY` (origin top) from the old box to `none` over 0.3 s `cubic-bezier(.2,.8,.2,1)`; the active link's colour crosses to accent in 0.2 s. Clicks call `scrollIntoView({behavior:'smooth'})` on the heading.
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° 0968 · nav

N° 0818 · nav

N° 0821 · nav

N° 0820 · nav

N° 0819 · nav

N° 0424 · nav

N° 0425 · nav

N° 0419 · scroll

N° 0964 · text

N° 0789 · scroll

N° 0354 · image

N° 0355 · image

N° 1005 · story

N° 0992 · cta

N° 0838 · text