Draggable Card Stack — React Component
Shuffled deck of portrait cards on a dark surface. Drag or fling the top card to send it to the back; press ← to pull the bottom card to the front. Supports images and videos, hover overlay, auto-play, and fully configurable stack geometry.
Draggable Card Stack
Playground
Shape the component before you copy it.
Adjust the important props for this component and grab JSX that matches your choices.
Animation effects
Copy-paste ready
Use the Code tab above to inspect and copy this component into your project.
About Draggable Card Stack
The Draggable Card Stack renders a pile of cards with physics-based drag and fling gestures. Cards can be picked up and thrown using Framer Motion gesture recognition, with spring physics determining throw trajectory and snap-back behavior. Releasing a card above a threshold dismisses it; below the threshold, it snaps back to the stack. Use it for onboarding card flows, testimonial carousels, or any UI that benefits from tactile, physical-feeling interaction.
Common use cases
- Onboarding and tutorial card flows
- Testimonial and quote carousels
- Feature discovery interactions
- Swipeable content and review decks