Stacking cards block
Feature cards that stack as you scroll: each sticks a little lower than the last, and as the next slides over it the card underneath settles back, smaller and dimmer, so the pile reads as depth.
How it works
From bank feed to closed books
Four steps, each one a screen you already have.
01
Connect your accounts
Bank feeds, cards and payment processors arrive every morning, already sorted by entity.
02
Match in bulk
Rules and suggestions match thousands of lines; you review the few that need a person.
03
Approve with context
Every large payment carries its invoice, its history and who asked for it.
04
Close and explain
Lock the period and send a written summary of what changed and why.
When to use
- Three to five big features or steps on a landing page.
- A sequence that should feel like it builds.
When not to use
- More than five cards; the stack becomes a long wait.
- Content people compare; use a grid.
Installation
pnpm dlx shadcn@latest add @caliper/stacking-cards-block
Adds its 6 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
StackingCardsBlock
5 props
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It is built on native elements, so roles and focus come from the browser.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/stacking-cards-block.mdThe index of every part is at /llms.txt.