HTML
<h2 data-a11y-text-split
data-split-type="letters"
data-split-mode="visual"
data-split-scroll>
Start before you feel ready.
</h2>Scroll reveal · Letters
Letters pour into place as each statement enters, then lift away when it leaves the viewport.
01 · Begin
02 · Continue
03 · Arrive
Basic recipe
<h2 data-a11y-text-split
data-split-type="letters"
data-split-mode="visual"
data-split-scroll>
Start before you feel ready.
</h2>import { splitAll } from
'../dist/index.js';
import { scrollRevealAll } from
'../dist/scroll.js';
splitAll();
scrollRevealAll();Native view timelines drive the animation where supported. The add-on falls back to one shared IntersectionObserver in older browsers.