Sticky Stacking Cards
A mathematically perfect Z-axis card stacking effect built with native CSS position: sticky, layered with dynamic GSAP perspective scaling.
Preview
Live interactive preview.
Installation
Add this component to your project using the CLI:
npx -y vui-registry-cli-v1@latest add sticky-cardsSource Code
Component Pass
Access high-fidelity, production-grade components with a premium license. Meticulously crafted for performance, a11y, and polish.
1-Year
component updates
Lifetime
Bestone-time access
- ✓Access to all premium components
- ✓Production-ready source code
- ✓Commercial license for one developer
Props
Component property reference.
| Name | Type | Default | Description |
|---|---|---|---|
| cardsData | Array<{title: string, subtitle: string, img: string, color: string}> | [] | An array defining the content of each card, including title, subtitle text, background color, and the path to the background image. |
Most components here are inspired by outstanding libraries and creators in the ecosystem. I don’t claim to be the original author — this is my space for learning, rebuilding, and understanding great work at a deeper level.
I’m still a student of the craft, constantly studying the best and translating what I learn through my own perspective. Every piece reflects curiosity, respect for the community, and small creative touches that feel true to me.
I’ve done my best to credit inspirations properly. If anything is missing or inaccurate, I truly appreciate a message so it can be corrected with care.