Scroll Stack

Cards & Layout

Scroll-driven card stack where cards progressively reveal, scale up, and rotate as the user scrolls through the viewport.

Loading preview...

Props

PropTypeDefaultDescription
childrenReact.ReactNoderequiredScrollStackItem elements to stack.
itemHeightnumber300Height in pixels of each card.
spacingnumber100Vertical scroll distance between card trigger points.
baseScalenumber0.85Starting scale for cards before they enter.
scaleIncrementnumber0.03Scale reduction per layer for cards behind.
rotationAmountnumber0Maximum rotation in degrees as cards enter.
classNamestring''Additional classes for the container.