Snap Page Stack
Vertical scroll box that snaps hard between full-height page panels, one section per scroll.
- lines of CSS
- 28lines of CSS
- dependencies
- 0dependencies
- baseline browsers
- Newlybaseline browsers
- no motion at all
- Noneno motion at all
Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.
.fx-v12-sc-pages-15300 {
width: 220px;
height: 140px;
overflow-y: auto;
scroll-snap-type: y mandatory;
border-radius: 12px;
border: 1px solid #1e293b;
font-family: system-ui, sans-serif;
color: #fff;
scrollbar-width: none;
}
.fx-v12-sc-pages-15300::-webkit-scrollbar { display: none; }
.fx-v12-sc-pages-15300 section {
height: 140px;
scroll-snap-align: start;
display: flex;
align-items: center;
justify-content: center;
gap: 0.6rem;
font-size: 1rem;
font-weight: 600;
}
.fx-v12-sc-pages-15300 section b { font-size: 0.7rem; opacity: 0.6; font-weight: 500; letter-spacing: 0.1em; }
.fx-v12-sc-pages-15300 section:nth-child(1) { background: linear-gradient(135deg, #be123c, #f43f5e); }
.fx-v12-sc-pages-15300 section:nth-child(2) { background: linear-gradient(135deg, #9f1239, #e11d48); }
.fx-v12-sc-pages-15300 section:nth-child(3) { background: linear-gradient(135deg, #881337, #be123c); }
.fx-v12-sc-pages-15300 section:nth-child(4) { background: linear-gradient(135deg, #4c0519, #9f1239); }
.fx-v12-sc-pages-15300 section:hover b { opacity: 1; }<div class="fx-v12-sc-pages-15300">
<section><b>01</b>Welcome</section>
<section><b>02</b>Features</section>
<section><b>03</b>Pricing</section>
<section><b>04</b>Sign up</section>
</div>What do I do with this?
- Put
snap-page-stack-15301.cssanywhere your page already loads CSS from — in Next.js that isapp/globals.css, or any stylesheet with a<link>in your HTML. - Then put the class on the element you want it on:
<button class="fx-v12-sc-pages-15300">. The CSS does nothing until a class name in it matches something on the page.
- Link the stylesheet, then paste the markup wherever you need it.
npx hoverlab add snap-page-stack-15301What's included
- The markup and the stylesheet, in whichever framework you pick
- No runtime dependencies
Works with
- React
- Vue
- Svelte
- Tailwind
- styled-components
- Plain CSS
npx hoverlab add snap-page-stack-15301
Or over MCP, from your editor's agent — no account needed.
License
Free to read, copy and install, for personal and non-commercial projects. Shipping it in client work or a paid product needs Pro ($79 once). The source lands in your repo and stops being ours — no attribution, nothing to upgrade.
Motion safety
Static estimate, read from the CSS
- Reduced motion
- Nothing animates
No animation or transition, so there is nothing to switch off.
- What it animates
- Nothing
No property is animated.
- Flashing (WCAG 2.3.1)
- No flashing found
No repeating change in opacity, colour or brightness large enough to count as a flash.
- Layout shift (CLS)
- No shift expected
Nothing it animates moves or resizes the box in flow. A category from the CSS, not a measurement for this effect.
Every row is read from the shipped CSS. Only a figure marked measured came from a browser. Customizing the speed changes the timing, so recheck a customized copy. How it is computed
30 more effects in Scroll & Sticky
All of them free to read, copy and install — no account, no locked tiles, no watermarked preview. The whole catalog is open, and so are the API and the CLI.
Browse Scroll & StickyShipping one commercially
Copying the code is free. Putting it in client work or a paid product is what Pro is for — the licence, not the access.
- A commercial licence for everything in the catalog
- Unlimited bundle exports, in Vue, Svelte and Tailwind
- One payment — no subscription, nothing to renew
7 variations of Snap Page Stack
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.