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