Stack Reveal

Pro

A React 3D card stack built on Framer Motion where the front card drops away, the deck promotes, then it returns.

carouselcss 3d3dstackcardsrevealscrolldepth
Stack Reveal component preview

Props

PropTypeDefaultDescription
cardsStackRevealCard[]-Photo cards in the stack. Defaults to curated Cloudflare landscapes.
eyebrowstring"Field notes"Small uppercase label above the title.
titlestring"Frames that keep their cool"Primary headline shown to the left of the deck.
descriptionstring-Supporting copy under the title.
asidestring"Auto-cycles"Optional footer line under the description.
widthnumber520Width of each card in pixels.
heightnumber330Height of each card in pixels.
cardDistancenumber56Horizontal offset between stacked cards in pixels.
verticalDistancenumber62Vertical offset between stacked cards in pixels.
delaynumber5000Milliseconds between automatic swaps.
pauseOnHoverbooleanfalseOptional. Pause automatic swaps while hovered.
skewAmountnumber6Y-axis skew applied to every card, in degrees.
easing"elastic" | "linear""elastic"Motion style. elastic = spring overshoot; linear = tighter ease-in-out.
onCardClick(idx: number) => void-Fires when a card is clicked.