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