Stack

Stack
Hover to fan out
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-stack

About this component

Three layered cards sit in a tight stack at rest. On hover they fan outward (back card rotates −6° and slides left, middle rotates +5° and slides right, front card lifts upward), using a spring cubic-bezier that physically overshoots before settling.

Triggers

  • Hover

Techniques

  • Transform only

Difficulty

Beginner

Moves on

Its code uses this curve. Open one to see it plotted and tune it.

Accessibility

Reduced motion

Skip the fan rotation; only the box-shadow deepens on hover.

Use it in anything you build, commercial and client work included. Licence

More cards

See all
> run_
Typewriter
Text types on hover
TypewriterGet code

Signups

Last 8 weeks

4,812+18%

AcetateGet code