A list row with actions beside it that a horizontal swipe reveals: swipe toward the start for the `trailing` actions (Delete, Archive), toward the end for the `leading` ones (Pin).
npx shadcn@latest add @ouro/swipe-actions
Loading the source for swipe-actions…
Registry Items
swipe-actions
Configuration
Name
swipe-actions
Type
UI
Description
A list row with actions beside it that a horizontal swipe reveals: swipe toward the start for the `trailing` actions (Delete, Archive), toward the end for the `leading` ones (Pin).
Files · 2
Dependencies
Registry items
@ouro/button
@ouro/lib-class-name-check
@ouro/lib-cn
@ouro/lib-env
@ouro/lib-focus-handoff
@ouro/lib-spring
@ouro/lib-tones
@ouro/lib-use-dev-messages
@ouro/lib-use-drag
@ouro/lib-use-reduced-motion
@ouro/menu
Registry Items
swipe-actions
Configuration
Name
swipe-actions
Type
UI
Description
A list row with actions beside it that a horizontal swipe reveals: swipe toward the start for the `trailing` actions (Delete, Archive), toward the end for the `leading` ones (Pin).