
N° 0963 · text
Scroll Fill Text is a scroll text animation. It responds to scroll. Palettes: Windowsill, Overcast, Sunny spell, Drizzle and Night frost.
A script wraps every word in .sf-w (phrases inside [data-key] also get .is-key) and gives word i of n the slice --s = 12% + (i / n) × 40% to --e = --s + 7% of the paragraph's 'cover' range. With scroll timelines (@supports animation-timeline: view()), the paragraph is view-timeline --sf and each word runs sf-fill (muted → fg) on animation-range: cover var(--s) cover var(--e); key words also run sf-key (underline transparent → accent). Without them, an IntersectionObserver attaches a rAF-throttled scroll listener that computes the same cover % and toggles .is-in.
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° 0963 · text

N° 0962 · text

N° 0838 · text

N° 0837 · text

N° 0836 · text

N° 0385 · text

N° 0387 · text

N° 0389 · text

N° 0837 · text

N° 0789 · scroll

N° 0831 · card

N° 0828 · loader

N° 0826 · loader

N° 0817 · overlay

N° 0823 · image

N° 0822 · image