Gesture Swipe Card Stack
A production-scale, light + dark Gesture Swipe Card Stack component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add gesture-swipe-card-stackLive preview available in the gallery.
Usage
import { GestureSwipeCardStack } from "@lerpa/ui";
<GestureSwipeCardStack />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| cards | SwipeCard[] | — | |
| className | string | — | |
| onSwipe | (card: SwipeCard, dir: 'left' | 'right') => void | — | |
| threshold | number | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.