Desktop · 1280px · shown at 0% · scroll inside the preview to see the effect
Stacking Cards — Free Website Section Template
Scroll effects · v1.0.0 · Updated 2026-10-22 · Responsive · GSAP animation · HTML, React & Vue
Extend with AI
Take This Section Further With AI
The AI prompt for this one is for Patreon supporters ($3 a month), along with a site with no ads. Supporters enter the passcode once and it is remembered in this browser.
What's included
Features
About this section
Stacking Cards on Scroll — Free GSAP Section Template

Stacking Cards deals your features or services like a deck. As visitors scroll, each card pins a little below the one before, the next card slides over it, and the covered cards shrink and dim, building a neat stack that reads one card at a time.
Four cards, or six
Cards are an editable list of 2 to 6, each with an icon, label, title, text and an optional image. Cards cycle through three looks (light, tinted and dark) so the stack stays easy to tell apart.
Solid foundations
Without JavaScript, on phones and while editing, the cards form a normal column, so nothing depends on the animation. The effect uses GSAP ScrollTrigger pins with stepped offsets and scrubbed scale, and respects reduced motion.
Follow it with a Gradient CTA Banner to turn interest into sign-ups. Export HTML, a ZIP, React or Vue.
Getting the most from it
Keep each card to a single idea, a short title and two lines of text, because stacked cards cover each other as you scroll and the previous card is only half visible. Four to six cards is the sweet spot: fewer feels thin, more makes the page long. Put the strongest point first and the call to action in the last card, and link every card to a deeper page so the section also feeds your internal links.
Why use it
Why Use the Stacking Cards
How it’s different
How It’s Different From Other Free Section Templates
Step by step
How to Use
- 1Edit the contentFill in the heading and cards in the panel. Wrap words in *asterisks* to colour them.
- 2Add your imagesUpload your own images (resized in your browser and kept on your device) or paste a hosted image URL.
- 3Match your brandPick a colour preset or exact colours, choose heading and body fonts from Google Fonts or your own uploaded font, set the corner radius and width, or apply your brand kit.
- 4Animate and previewThis section is driven by scrolling: scroll inside the preview to see the effect, press Refresh to restart it from the top, and check the section on desktop, tablet and mobile.
- 5Save and exportSave it to My designs, then export a single HTML file, a ZIP with your images, a React or Vue component, or fork it into My Code.
Real-world uses
Common Use Cases
In real websites
Website Templates That Use the Stacking Cards Section
The Stacking Cards section is part of 2 complete website templates in the free Website Builder, so you can see it in a full page before you use it on its own: Boutique Hotel Website, Law Firm Website. Open any of them in the builder to edit the whole page, or keep customising this section by itself.
Got questions?
Frequently Asked Questions
GSAP ScrollTrigger pins each card a little lower than the one before until the last card arrives. While the next card slides over, the covered card scales down and dims, scrubbed to the scroll.
Below 768px the cards are a normal column without pinning, which is easier to read on small screens.
No. Leave the image empty and that card becomes text-only and spans the full width.
The pinned card is positioned by ScrollTrigger, so the scale is applied to its inner wrapper to keep the pin and the shrink effect from interfering.
It saves an editable copy of your Stacking Cards in My Code, the UI Snippets code editor: the section markup goes in the HTML panel, its CSS (theme variables, base styles and layout) in the CSS panel, and the GSAP library is added as a CDN link, so you can keep refining the code and save your own versions.
Yes. Every section is free for personal and commercial work, with no account, no watermark and no attribution: export it on its own as HTML, React, Vue or Next.js from its page, or use it in a website you build and export in the Website Builder.