GitHub

Swipe

Swipe-to-reveal action overlays, drag handles, draggable items, and drop zones for touch-based list interactions.

Swipe Actions

Preview
Archive
Delete
JD
John Doe
Swipe left or right to reveal actions

Drag Handle

Preview
Draggable list item

Draggable States

Preview
Normal item
Dragging (elevated shadow, slightly transparent)
Drop target (tinted background)
ClassDescription
.swipe-containerWrapper with overflow hidden and pan-y touch
.swipe-contentVisible row that slides on swipe
.swipe-content-swipingDisables transition during active drag
.swipe-actionsHidden action buttons behind content
.swipe-actions-startActions on the left side
.swipe-actions-endActions on the right side
.swipe-actionIndividual action button
.swipe-action-deleteRed/error delete action
.swipe-action-archiveYellow/warning archive action
.swipe-action-pinBlue/primary pin action
.swipe-action-moreNeutral more action
.drag-handleGrip handle for drag-and-drop
.draggableDraggable item base
.draggable-draggingElevated shadow + opacity while dragging
.draggable-overTinted background on drop target
.drop-zoneDrop zone base
.drop-zone-activeHighlighted when item is dragged over
.gesture-feedbackCentered toast for gesture feedback
.gesture-feedback-visibleShow the feedback toast