Sticky Stack Cards
Full-height cards that pin in place and stack. As the next card scrolls up over the current one, the underlying card scales down, tilts a few degrees in alternating directions, and darkens under a shadow overlay, so the deck compresses into a layered pile. GSAP ScrollTrigger.
npx shadcn@latest add @compronents/sticky-stack-cardsInstalls from ui.aryank.space. Needs a registry token and a one-time @compronents entry in components.json. The docs walk through both.
Checking access…
| Prop | Type | Default | Description |
|---|---|---|---|
| cards | StickyStackCard[] | Four BLANK principle cards | Index, title, image, and description per card. |
| intro / outro / captionLabel | string | The Foundations / Ends in Form / (About the state) | Opening panel, closing panel, and card caption. |
| embedded | boolean | true | Owns the scroll container so it fits a bounded box. |
cardstextIndex, title, image, and description per card.
cards[].imageasset-urlFeature image inside each card.
intro / outro / captionLabeltextOpening panel, closing panel, and the small caption.
gsaplenis


