Haptic Swipe List Row
A production-scale, light + dark Haptic Swipe List Row component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add haptic-swipe-list-rowLive preview available in the gallery.
Usage
import { HapticSwipeListRow } from "@lerpa/ui";
<HapticSwipeListRow />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| children | React.ReactNode | - | |
| leftActions | SwipeAction[] | — | |
| rightActions | SwipeAction[] | — | |
| onSwipeDelete | () => void | — | |
| deleteThreshold | number | — | |
| hapticDuration | number | — | |
| className | string | — | |
| rowClassName | string | — | |
| actionWidth | number | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.