PRO

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.

Component

The Foundations

01

Modularity

(About the state)

Every element is built to snap into place. We design modular systems where clarity, structure, and reuse come first, with no clutter and no excess.

02

Materials

(About the state)

From soft gradients to hard edges, our design language draws from real world materials, elevating interfaces that feel both digital and tangible.

03

Precision

(About the state)

Details matter. We work with intention, aligning pixels, calibrating contrast, and obsessing over every edge until it just feels right.

04

Character

(About the state)

Interfaces should have personality. We embed small moments of play and irregularity to bring warmth, charm, and a human feel to the digital.

Ends in Form

Install
npx shadcn@latest add https://ui.aryank.space/r/sticky-stack-cards.json

Installs from ui.aryank.space. To add it by hand, copy the files in Usage below, or register the @compronents namespace via the docs.

Files

API
PropTypeDefaultDescription
cardsStickyStackCard[]Four BLANK principle cardsIndex, title, image, and description per card.
intro / outro / captionLabelstringThe Foundations / Ends in Form / (About the state)Opening panel, closing panel, and card caption.
embeddedbooleantrueOwns the scroll container so it fits a bounded box.
Customize
cardstext

Index, title, image, and description per card.

cards[].imageasset-url

Feature image inside each card.

intro / outro / captionLabeltext

Opening panel, closing panel, and the small caption.

Dependencies
gsaplenis