Text effects
Scroll float reveal
Scroll float reveal: Heading characters float up from below and settle into shape as their section scrolls through the viewport, scrubbed directly to scroll position.
Using Scroll float reveal
Scroll float reveal uses the wide preview frame with a light/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.
| Control | Type | Default | Preview limits |
|---|---|---|---|
text | text | Float Into View | Up to 30 characters |
stagger | number | 0.03 | From 0 to 0.1; step 0.01 |
duration | number | 1 | From 0.3 to 2; step 0.1 |
Which frameworks are available for Scroll float reveal?
Scroll float 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 float reveal depend on?
The React metadata lists these npm dependencies beyond React: motion.
What accessibility details are visible in Scroll float reveal?
The React source for Scroll float reveal includes: attributes and handlers (aria-hidden, aria-label). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Scroll float reveal handle reduced motion?
Scroll float reveal reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.