Elastic Swipe Card
A production-scale, light + dark Elastic Swipe Card component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add elastic-swipe-cardLive preview available in the gallery.
Usage
import { ElasticSwipeCard } from "@lerpa/ui";
<ElasticSwipeCard />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | |
| subtitle | string | — | |
| image | string | — | |
| onSwipeLeft | () => void | — | |
| onSwipeRight | () => void | — | |
| className | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.