{"library":"react-native-swipe-gestures","type":"library","category":null,"description":"react-native-swipe-gestures is a React Native component designed to detect and handle 4-directional swipe gestures: up, down, left, and right. It provides a `GestureRecognizer` component that wraps other UI elements, enabling them to respond to these directional swipe events. The library allows for fine-grained control over gesture sensitivity through configurable parameters such as `velocityThreshold`, `directionalOffsetThreshold`, and `gestureIsClickThreshold`. Currently at version 1.0.5, this package offers a straightforward, declarative API for implementing common swipe interactions, abstracting the complexities of React Native's underlying `PanResponder`. It also ships with TypeScript type definitions, providing an improved development experience for TypeScript users. While effective for basic swipe detection, for more complex gesture interactions or higher performance requirements (e.g., gestures running on the UI thread), alternative libraries like `react-native-gesture-handler` (v2.0+) might be considered.","language":"javascript","status":"maintenance","version":"1.0.5","tags":["javascript","react-native","swipe","gesture","typescript"],"install":[{"cmd":"npm install react-native-swipe-gestures","imports":["import GestureRecognizer from 'react-native-swipe-gestures';","import { swipeDirections } from 'react-native-swipe-gestures';","const GestureRecognizer = require('react-native-swipe-gestures').default;\nconst { swipeDirections } = require('react-native-swipe-gestures');"]},{"cmd":"yarn add react-native-swipe-gestures","imports":[]},{"cmd":"pnpm add react-native-swipe-gestures","imports":[]}],"homepage":null,"github":"https://github.com/glepur/react-native-swipe-gestures","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-native-swipe-gestures","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/react-native-swipe-gestures/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}