Scroll Reveal Paragraph

Reveal paragraphs as they enter the viewport with subtle motion and fade.

Open in v0~0.5 kB

Last updated: March 7, 2026

LoremLoremipsumipsumdolordolorsitsitamet, amet, consecteturconsecteturadipiscingadipiscingelit.elit.SedSeddodoeiusmodeiusmodtempor tempor incididuntincididuntututlaborelaboreetetdoloredoloremagnamagnaaliqua. aliqua. UtUtenimenimadadminimminimveniam,veniam,quisquisnostrudnostrudexercitation exercitation ullamcoullamcolaborislaborisnisinisiututaliquipaliquipexexeaeacommodo commodo consequat.consequat.DuisDuisauteauteirureiruredolordolorininreprehenderitreprehenderit

Installation

npx smoothui-cli add scroll-reveal-paragraph

Features

  • Reveal on scroll with smooth fade and translate
  • Per-paragraph stagger for long-form content
  • Configurable thresholds and offsets
  • Built with Framer Motion + Intersection Observer
  • Accessible and performant

Accessibility

Screen Reader

  • The component renders as a semantic p element, preserving paragraph structure for assistive technologies.
  • Each word is wrapped in a span for animation purposes, but the text content remains fully readable.

Reduced Motion

This component respects the prefers-reduced-motion media query via useReducedMotion from Motion. When reduced motion is preferred, all words are displayed at full opacity immediately without the scroll-driven reveal effect. The ghost text overlay used for the reveal effect is also hidden.

Props