Swipe To Complete Row
A production-scale, light + dark Swipe To Complete Row component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add swipe-to-complete-rowLive preview available in the gallery.
Usage
import { SwipeToCompleteRow } from "@lerpa/ui";
<SwipeToCompleteRow />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| id | string | - | |
| text | string | - | |
| onComplete | (id: string) => void | — | |
| className | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.