Native only

Swipe to confirm

drag past 85% commits · tone primary/destructive · reset via key

Swipe to confirmNative only

Usage

For irreversible actions (submit, delete, pay). Reset by changing its key.

API

<SwipeToConfirm label onConfirm confirmLabel? tone="primary|destructive" />

Get it

Already in every copy of the native kit:

import { SwipeToConfirm } from '@/components/kit/swipe-to-confirm';

Details

Exports
SwipeToConfirm
Packages
lucide-react-native@^1.21.0, react-native-gesture-handler@~2.32.0
Installs with
@halftone-native/icon, @halftone-native/lib-haptics, @halftone-native/lib-reduced-motion, @halftone-native/lib-theme, @halftone-native/lib-utils, @halftone-native/text
Also searched as
slide, drag, commit, high stakes

Agents: the whole registry is at /llms.txt.