Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

React Native Gesture Handler

Declarative gesture handling for React Native with native performance.

Desktop and mobile appsNPM

GitHubWebsite

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What React Native Gesture Handler does

Gesture Handler moves touch handling out of React Native's JS responder system and onto each platform's native recognizers on the UI thread, and it gives you hooks and relation properties to decide which gesture wins when several compete.

React Native Gesture Handler popularity

68 / 100
Gid Score, #494 overall
14.7M
downloads a week, npm
6,807
GitHub stars
99
agent projects use it
React Native Gesture Handler: downloads per weeknpm, react-native-gesture-handler 14,675,866
React Native Gesture Handler: GitHub starssoftware-mansion/react-native-gesture-handler 6,807

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How React Native Gesture Handler is used

  • React Native Gesture Handler is a dependency in 99 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (2.0% of the 4,867 JavaScript/TypeScript ones), #5 of 105 in desktop and mobile apps.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 159; those are left out of every share on this page.
  • Projects that use it most often also use React Native (100.0%), react-native-safe-area-context (100.0%), react-native-screens (99.0%).

By coding agent

54 projects, 2.2%
50 projects, 1.6%
39 projects, 1.2%
13 projects, 2.8%
9 projects, 2.6%
8 projects, 1.7%
5 projects, 1.8%

Often used with

In 100.0% of its projects
In 100.0% of its projects
In 99.0% of its projects
In 96.0% of its projects
In 92.9% of its projects
In 100.0% of its projects
In 75.8% of its projects
In 74.7% of its projects

React Native Gesture Handler in practice

Strengths

Recognition happens off the JS thread

Gestures are recognized and tracked on the UI thread, not by the JS responder system. The README says this makes touch interactions "dependable and deterministic", not only smooth.

Hooks that settle conflicts on one component

Three composition hooks bundle gestures attached to the same component. With <code>useCompetingGestures</code>, the first gesture to activate cancels the rest. With <code>useSimultaneousGestures</code>, all of them can run at once. With <code>useExclusiveGestures</code>, the order of the arguments sets priority.

Relations across components, including lists

When gestures sit on different components, the relation properties <code>simultaneousWith</code>, <code>requireToFail</code> and <code>block</code> define how they interact. The docs single out <code>block</code> for a ScrollView that must wait on the gestures beneath it.

Touchable with native feedback built in

The new Touchable component is meant to supersede Pressable and Buttons. The site lists scale, opacity, underlay and Android ripple feedback as built in.

Watch out for

Three-minor React Native window

The docs say the library supports the three latest minor releases of React Native. The 3.x compatibility table covers React Native 0.82 to 0.87. It marks 3.3.x as not supporting 0.82.

Version 3 needs React Native 0.82+

Projects on older React Native versions stay on Gesture Handler 2. The README links to the version 3 compatibility table in the docs and lists a separate table for version 2.

Everything must sit under the root view

Gestures outside <code>GestureHandlerRootView</code> are not recognized. Relations only work between gestures under the same root. The docs say Modal content and, with wix/react-native-navigation, every screen need their own wrapper.

Wrap the app in GestureHandlerRootView

import { GestureHandlerRootView } from 'react-native-gesture-handler' ;
export default function App ( ) {
return (
< GestureHandlerRootView >
< ActualApp />
</ GestureHandlerRootView >
) ;
}

More about React Native Gesture Handler

Funding
  • GitHub Sponsors: https://github.com/software-mansion
  • 10 GitHub sponsors

See all

Packages around it
  • react-native: Mobile app framework
  • react-native-safe-area-context: Safe area insets
  • react-native-screens: Native screen containers
  • expo: React Native platform and tooling
  • react-native-reanimated: UI-thread animations
  • @react-navigation/native: App navigation
More in Desktop and mobile apps

Alternatives

React Native Gesture Handler This page

MITGid 6814.7M/wk

Compare React Native Gesture Handler with another tool

Get started

Install it.

npm install react-native-gesture-handler

Rules for your agent

Paste into AGENTS.md or CLAUDE.md
## React Native Gesture Handler
- In Expo projects, install with `npx expo install react-native-gesture-handler`. For an Expo development build, run `npx expo prebuild` to update the native code.
- Wrap the app in `GestureHandlerRootView`, as close to the actual root as possible. Gestures outside it are not recognized.
- Wrap `Modal` content in its own `GestureHandlerRootView`. With wix/react-native-navigation, wrap every registered screen.
- In 3.x, create gestures with hooks such as `useTapGesture` and attach them with `GestureDetector`.
- For gestures on the same component, use `useCompetingGestures`, `useSimultaneousGestures` or `useExclusiveGestures`. Across components, use `simultaneousWith`, `requireToFail` or `block`.
- Do not try to set relations between hook-based gestures and gestures from previous APIs.
- For UI-thread gesture animation, the recommended route is `react-native-reanimated` plus `react-native-worklets`. Check that the React Native version is in the compatibility table, because 3.x needs at least 0.82.