What is a list with swipe actions?
A list with swipe actions is a normal vertical list where each row hides extra actions that appear when you swipe the row sideways. Tapping the row still does the main thing (open the email, open the chat, open the product). Swiping is a shortcut for the secondary things you’d otherwise do from inside the item or from a menu.
You’ll find it in:
- Mail and messaging: Archive, Delete, Mark as read, Pin, Mute.
- Shopping: Remove from cart or wishlist, Move to “Save for later”.
- Banking and finance: Remove a saved payee or card, hide a transaction.
- To-do and notes: Complete, Delete, Flag.
Anatomy
Every row is a normal list item first. Learn its parts, because many bugs are “text overlaps chevron” or “secondary line missing” rather than anything to do with swiping.
iOS list rows: at rest, swiped left, swiped right
- 1
Leading content
An avatar, thumbnail, icon or checkbox. Helps people scan the list.
- 2
Primary text
The one thing that identifies the row: a name, a product, a subject. One line, truncated with an ellipsis.
- 3
Secondary text
Supporting detail: a preview, a status, an address. Usually one or two lines in a lighter color.
- 4
Trailing content
Metadata (time, price, badge) or a control (switch, checkbox).
- 5
Chevron
Means "tap opens a detail screen" on iOS. Android and web rows rarely show it.
- 6
Trailing actions
Revealed by swiping toward the leading edge (left in English). Usually Delete, Archive, More. Destructive goes outermost.
- 7
Leading action
Revealed by swiping the other way. Usually something positive and reversible: Mark as read, Pin, Add to cart.
Leading vs. trailing actions
The two sides have names that work in every language:
- Trailing actions sit at the trailing edge (the right in English) and appear when you swipe toward the leading edge (to the left). This is where destructive actions live: Delete, Archive, Remove.
- Leading actions sit at the leading edge (the left in English) and appear when you swipe to the right. They’re usually positive and reversible: Mark as read, Pin, Add to cart.
In right-to-left languages like Arabic and Hebrew (RTLRight-to-left (RTL)Languages like Arabic and Hebrew that read right to left; layouts and controls must be mirrored.Open in glossary →), everything mirrors: trailing actions appear on the left. A row that still reveals Delete on the right in Arabic is a localization bug.
Reveal buttons vs. full swipe
There are two ways a swipe can end:
| Style | What happens | Risk |
|---|---|---|
| Reveal | A short swipe snaps the row open and shows buttons. You tap one. | Low: two steps, you see what you’ll get |
| Full swipe | Keep swiping past a point and the outermost action runs on release | Higher: one movement, easy to do by accident |
| Swipe to dismiss | No buttons; the row slides away and the action runs (Gmail style) | Highest: must come with Undo |
iOS uses reveal + optional full swipe (iPhone Mail: a full swipe left trashes or archives). Android apps usually use swipe to dismiss with a colored background and an icon (Gmail archives). A good full swipe gives feedback at the point of no return: the outermost button stretches across the row and the phone gives a small hapticHaptic feedbackA short vibration that confirms an action without the user needing to look at the screen.Open in glossary → tick. If you let go before that point, nothing happens.
How it differs from similar patterns
Swipe actions are never the only way to do something. These are the patterns they’re usually paired with:
| Pattern | How it’s triggered | Good for |
|---|---|---|
| Swipe actions | Swiping one row | Fast, frequent actions on one item |
| Edit mode | An Edit or Select button, then checkboxes | Acting on many items at once |
| Long-press menu | Touch and hold a row | Discoverable list of all actions |
| Buttons in the detail view | Open the item, use its toolbar | The always-available, visible path |
Designs & variants
The same idea looks and behaves differently on each platform. Try each one with your finger or by dragging with a mouse.
Inbox
Reveal buttons + full swipe
iOSSwipe a little to reveal buttons, then tap one. Swipe all the way to trigger the outermost action (Trash). Only one row opens at a time; scrolling or tapping the row closes it.
Primary
Swipe to dismiss
AndroidGmail style: no buttons. The color and icon tell you what will happen; past about 40% of the width the email is archived. Tap an avatar to select instead, then use the toolbar.
Saved addresses
- Home12 Baker Street, London
- Office5 Canal Road, Leeds
- Mom88 Elm Avenue, York
Visible actions menu
WebOn the web, swipe is rare. Each row has a visible ⋮ menu that works with mouse, touch and keyboard. Deleting is permanent here, so it asks first.
Dev note
On iOS these are swipe actions (swipeActions in SwiftUI, UISwipeActionsConfiguration in UIKit). On Android you’ll hear swipe to dismiss (SwipeToDismissBox in Jetpack Compose, ItemTouchHelper for RecyclerView). On the web there is no standard; teams build it themselves or use a library.
Check this part
In English, where do trailing swipe actions like Delete usually appear?
Which swipe style is the riskiest and must come with Undo?