Components / section

Scroll Text Fill

v1.0.2 · premium

Readable gray text gradually fills with white in reading order as you scroll.

Scroll Text Fill demo

Implementation

Readable gray text gradually fills with white in reading order as you scroll.

Framework
React 19.3.1 with TypeScript
Motion
Native CSS and browser APIs. No GSAP required.
Available modes
build
Version
1.0.2 · published

Source code

Download source ZIP
export function ScrollTextFill({ text, scrollLength = 100, label = 'Scroll Text Fill', className }: ScrollTextFillProps)
  const root = useRef<HTMLElement>(null);
  const stage = useRef<HTMLDivElement>(null);

Quality evidence

Export tested in 2 consumer projects with chromium, firefox, webkit. Evidence recorded on .

Changelog

v1.0.2 · Readable gray text gradually fills with white in reading order as you scroll.

Frequently asked questions

How is this different from Scroll Text Focus?

Scroll Text Fill changes the text from gray to white in reading order. Scroll Text Focus brings words into focus.

Can I adjust how much scrolling the fill takes?

Yes. Increase scrollLength to give the fill more vertical distance.