Component packs › Kinetic Type › Scroll Highlight

Scroll Highlight

Words light up one by one as the paragraph scrolls by, with a warm glow on the word being read.

Scroll Highlight is a paragraph from Kinetic Type, a component pack with 6 components: Headlines that move with meaning. Price: $2 for the whole pack.

Built with: scroll-linked, any scroll container, reduced-motion safe.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Scroll Highlight props

PropTypeDefaultDescription
textstring
sizenumber30Font size in px. Default 30.
scrollerHTMLElement | 'self'the windowScroll container to track. Default: the window. Use "self" to make the component scroll.
autoplaybooleanShowcase mode: scrubs through the text on a loop instead of following scroll.

Methods on the ref

Use it in React

import ScrollHighlight from './ScrollHighlight';

<ScrollHighlight />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Kinetic Type

Good for: Text animation.