Skip to content
Menu

Text effects

Scroll Progress Text Reveal

Scroll Progress Text Reveal: A long sentence sits pinned on screen while the page scrolls past it, and each word individually brightens from dim to fully lit as the scroll position reaches its turn.

Using Scroll Progress Text Reveal

Scroll Progress Text Reveal uses the full page preview frame with a dark theme setting.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
texttextThis library will change the way you design interfaces.Up to 120 characters
dimOpacitynumber0.2From 0 to 0.6; step 0.05
scrollLengthnumber200From 120 to 400; step 20
Which frameworks are available for Scroll Progress Text Reveal?

Scroll Progress Text Reveal is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

What does Scroll Progress Text Reveal depend on?

The React metadata lists these npm dependencies beyond React: motion, clsx, tailwind-merge.

What accessibility details are visible in Scroll Progress Text Reveal?

The React source for Scroll Progress Text Reveal includes: attributes and handlers (aria-label, tabIndex); explicit roles (region). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Scroll Progress Text Reveal handle reduced motion?

Scroll Progress Text Reveal reads the motion preference in its React source through useReducedMotion(). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components