Founding price: $35, then $79.99 after 23:59 UTC on 4 November, then $79.99
Get ProA list row that reveals actions on a sideways drag, with optional full-swipe commit, rubber banding, RTL support and an arrow-key route for keyboard users.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
Use it for rows in a mail, message or task list where each row has two or three common actions (archive, pin, delete).
Do not hide the only route to an action behind a swipe: show the same action elsewhere (a detail page, a menu). Do not use more than three actions per side.
| Part | Prop | Type | Default | Description |
|---|---|---|---|---|
SwipeActions | leading / trailing | SwipeAction[] | [] | Actions on the end / start side. { id, label, icon?, tone?, onSelect }. |
SwipeActions | fullSwipe | boolean | false | Swiping 70% of the width runs the first action on that side. |
SwipeActions | actionWidth | number | 80 | Width of one action in px. |
SwipeActions | label | string | - | Accessible name of the row. |
The component ships with a Testing Library test (swipe-actions.test.tsx). jsdom cannot drag, so the test uses the keyboard route: arrows open each side, focus moves to the first action, Escape closes it, and an action runs its callback.