Skip to content
Text Effects

ScrollTypography

Words light up one by one as the paragraph scrolls up the screen, so the reading pace follows the scroll.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
textstring—Paragraph text.
dimnumber0.15Opacity of words not reached yet, 0 to 1.
containerRefObject<HTMLElement>—Scrolling box to follow. Leave out to follow the page.
classNamestring""Type styles for the text.