Props
| Prop | Type | Default |
|---|---|---|
| leftActions Revealed by swiping right; the first is the edge (full-swipe) action. | SwipeAction[] | [] |
| rightActions Revealed by swiping left; the last is the edge (full-swipe) action. | SwipeAction[] | [] |
| SwipeAction destructive collapses the row before calling onPress. | { label, color, icon?, onPress?, destructive? } | — |
| actionWidth Width of each action when resting open. | number | 76 |
| fullSwipe Swiping past half the row fires the edge action. | boolean | true |
| closeOnActionPress Spring closed after an action is tapped. | boolean | true |
| onOpen / onClose Open state callbacks. | (side) => void / () => void | — |
| disabled Turns swiping off. | boolean | false |
| contentStyle Style of the sliding foreground — keep its background opaque. | StyleProp<ViewStyle> | theme background |
| style Style for the outer row that holds the actions behind the sliding content. | StyleProp<ViewStyle> | — |
| className Tailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides. | string | — |
Customization
You own the source file — tune appearance with props (no fork required for most tweaks). For brand-wide colours and radius, wrap your app in KitProvider; for one-off looks, use the style props below.
Design theme
Open Design theme on the live preview — accent, corner radius and font update every variant instantly (same as KitProvider in your app).
Variants
Use the variant chips on the preview to switch examples; each maps to a demo you can copy from the Code tab.
Style props
React Native style and typed slots like fieldStyle, plus optional root className when you use NativeWind or Uniwind (cnProps from kit).
- contentStyle
- StyleProp<ViewStyle> · default theme backgroundStyle of the sliding foreground — keep its background opaque.
- style
- StyleProp<ViewStyle>Style for the outer row that holds the actions behind the sliding content.
- className
- stringTailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides.
Map tokens from your design system on Bring your design system or read Theming for KitProvider and NativeWind / Uniwind setup.
Behaviour & accessibility
- Touch
- Drag sideways to reveal the actions; a full swipe past half the row fires the edge action. Tap the open row to close it.
- Motion
- Actions fan out and grow with your finger, the edge action stretches across on a full swipe, and destructive actions slide away and collapse the row.
- Screen readers
- Every action is offered as a named accessibility action on the row, and each revealed action is a labelled button.
- Web
- Built on PanResponder, so a mouse drag works too; the row shows a grab cursor and text selection is turned off.
Source
FAQ
How do I make a swipe to delete in React Native?
Does Swipeable Row work in Expo Go?
How do I add Swipeable Row to my Expo app?
Is Swipeable Row free?
npx @expokit/cli@latest login) and it installs the full source into your app.Can I change how Swipeable Row looks?
useKit(), so wrapping your app in <KitProvider accent radius> re-skins it with every other ExpoKit component. The code lives in your project, so you can also edit anything directly.