Get the kit
Components / Text animationsv1.0.0 · updated 2026-09-12

Reveal Text

Free · MIT

Splits a statement into words and drives each word's opacity from scroll position on the shared animation loop, so many instances cost one requestAnimationFrame.

textscroll
Free

Every word earns its place, then lights up.

Scroll the page to light the words
Customize
Accent

Install

No dependencies beyond React. Copy the file and import it.

  1. Copy RevealText.tsx from the Code tab into components/brazen/.
  2. Make sure the Brazen tokens are loaded (tokens.css); colours and timing come from them.
  3. Import it and pass the props below.

Props 2

PropTypeDefaultDescription
childrenstring—The statement.
hotstring—Words appended in the hot colour.

Features

  • Scroll-linked
  • Hot-coloured tail words
  • Shared rAF loop

Dependencies

  • react@>=19 peer

Works with

  • React 19
  • Next.js 15+
  • TypeScript

Reduced motion

Words still follow scroll, without vertical movement.

Related