Stack
Markup where the component goes, CSS in your stylesheet. No JavaScript.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/card-stackAbout 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
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 allSignups
Last 8 weeks
4,812+18%
- Week 6: launch week, the peak.
- Week 3: outage.