Skip to content

Text Reveal

TextReveal splits text into words and reveals them one by one when the element scrolls into the viewport.

Basic usage

Tailwind v4
vue
<TextReveal text="This text reveals word by word as you scroll it into view." />

Larger text

Tailwind v4
vue
<TextReveal
  text="Build beautiful interfaces with animations that feel natural and purposeful."
  style="font-size:1.5rem;font-weight:700;"
/>

Custom threshold

Tailwind v4
vue
<TextReveal
  text="A higher threshold means more must be visible before triggering."
  :threshold="0.5"
/>

Props

PropTypeDefaultDescription
textstringThe text to reveal word by word
thresholdnumber0.1IntersectionObserver threshold (0–1)

Private — Jetpack Labs internal use only