Step Stack
A process told as a deck. A giant line slides across a pinned screen and, as you scroll, the steps come up from below one at a time like sheets out of a slot: curled back and filled with the light, unrolling flat as they land on the deck with a spring, then draining to plain with a soft curved edge. Earlier steps stay on the pile, each stepping up, shrinking and dimming a little, like a stack of cards; the deck floats and leans with your scroll, and the line keeps sliding to the end.
How It Works
The section is pinned and the steps share its scroll evenly. Each card follows its own spring toward how far its window has come, so it overshoots a touch and keeps settling after you stop. A card is a chain of 16 horizontal strips hinged on their top edges; the curl, spread evenly across the hinges, unrolls as the card rises, with a small turn that straightens. A second copy of its face, coloured with the light, shows through a soft round mask anchored at the top that shrinks as it lands, so the colour drains upward. Each card counts how many have landed on it and steps up, shrinks from its top edge and dims for each, so every earlier step shows above the newest. Cards aren't one 3D scene: each is drawn on its own, in order, so a newer card is always over an older one and a curling card never cuts through the pile. The top card floats, and the whole deck leans on a softer spring that follows the scroll speed. The marquee is a strip of repeated units moved by the scroll and a slow drift.
Use It
Install it with shadcn, or copy the file into your components folder, then use it like this. Change a setting in the demo and the example picks it up. Works with Next.js (App Router) and any React 19 project on Tailwind CSS v4.
npx shadcn@latest add @reacthive/step-stack<StepStack steps={[{ content: <Step n={1} />, label: "Step 1 of 5: Quick Intro" }]} marquee="How It Works">
<div className="absolute inset-0 bg-[#040a26]" />
</StepStack>- steps are { content, label }. content fills a card and is drawn twice, plain and filled with the light, so colour it with var(--step-bg), var(--step-ink), var(--step-mute), var(--step-accent) and var(--step-track), each with your own fallback (like bg-[var(--step-bg,#fff)]). Size type with cqw so it reads the same at any size. label is what screen readers hear.
- marquee is the giant line behind the deck; style it with marqueeClassName. tint is the light the cards rise in, tintInk the type colour while filled, curl how far a card is curled back as it comes up, bounce how lively the springs are.
- length is the section's height in screens; the steps share it evenly, each rising and then holding while you read it. aspect and radius shape the cards.
- children are layers in the pinned screen, under the marquee and cards, and can read --p (scroll progress). In flight each card is drawn in 16 strips, twice over, and swaps to a single face once flat, so keep the markup light. No packages: CSS 3D and one requestAnimationFrame loop. With reduced motion the last step sits on the deck.
More Scroll

Card Deal
Scroll

Arc Gallery
Scroll

Cursor Reel
Scroll
Your Next Site Starts with a Live Demo.
Click around first. What you see is exactly what you download.