
N° 0975 · scroll
Scroll Progress Bar is a scroll effect. It responds to scroll. Palettes: Paper, Mint on ink, Moss, Blush and Orchid.
`.sc { scroll-timeline: --dm-read y }`, `#scroll { timeline-scope: --dm-read }` (so the bar can live outside the scroller and stay put) and `.bar { transform-origin: left; animation: grow linear both; animation-timeline: --dm-read }` with `@keyframes grow { from { transform: scaleX(0) } to { transform: scaleX(1) } }`; the pill reads `scrollTop / (scrollHeight − clientHeight)` from a passive listener and sits at the bar's end via the same ratio. When named scroll timelines are unsupported the listener also sets the bar's transform.
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° 0975 · scroll

N° 0974 · scroll

N° 0795 · scroll

N° 0794 · scroll

N° 0793 · scroll

N° 0792 · scroll

N° 0791 · scroll

N° 0790 · scroll

N° 0429 · nav

N° 0964 · text

N° 0789 · scroll

N° 0354 · image

N° 0355 · image

N° 0372 · image

N° 1005 · story

N° 0992 · cta