Components / section
Scroll Text Focus
A centered statement comes into focus word by word as you scroll.

Implementation
A centered statement comes into focus word by word 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.0 · published
Source code
Quality evidence
Export tested in 2 consumer projects with chromium, firefox, webkit. Evidence recorded on .
Changelog
v1.0.0 · A centered statement comes into focus word by word as you scroll.
Frequently asked questions
Can visitors read the statement with reduced motion enabled?
Yes. With reduced motion, the whole statement is shown in a static reading layout.
Can I slow down the focus change?
Yes. Increase scrollLength so visitors scroll farther through the statement.