Feature list cascade on scroll
The staggered feature row is one of the most reused blocks in marketing pages, and the detail that makes it feel deliberate is per-row trigger offsets rather than one delay multiplied out. Each row gets its own trigger point, so the cascade tracks the reader’s scroll rather than running on a fixed clock once the section appears.
The code
A bank's account-switching page. The four steps slide in one after another, each trigger 5% lower than the last, and each step's line icon inks in as its row arrives.
import { scrollAnimate, scrollDraw } from 'svg-scroll-draw';
const rows = document.querySelectorAll('.steps li');
rows.forEach((row, i) => {
scrollAnimate(row, {
props: {
opacity: [0, 1],
transform: ['translateX(-28px)', 'translateX(0)'],
},
trigger: { start: `top ${90 - i * 5}%`, end: `top ${60 - i * 5}%` },
easing: 'ease-out',
once: true,
});
});
// the icons ink in as their rows arrive
scrollDraw('.steps', { stagger: 0.06, once: true });
A bank’s account-switching page
Mint & Co
Related examples
Make your own in the text fill on scroll generator: set it up, watch it run, copy the code.
MIT licensed, zero runtime dependencies. Every API is a separate entry point, so you only ship what you import. Full API reference →