{
 "kind": "tool",
 "slug": "react-native-gesture-handler",
 "path": "tools/react-native-gesture-handler/",
 "name": "React Native Gesture Handler",
 "maker": null,
 "density": "profile",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Desktop and mobile apps",
   "tools/desktop-mobile/"
  ]
 ],
 "lead": "Declarative gesture handling for React Native with native performance.",
 "chips": [
  {
   "label": "Desktop and mobile apps",
   "path": "tools/desktop-mobile/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install react-native-gesture-handler"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/software-mansion/react-native-gesture-handler"
  },
  {
   "label": "Website",
   "href": "https://docs.swmansion.com/react-native-gesture-handler/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/software-mansion/react-native-gesture-handler"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 19, 2026",
   "note": "Latest GitHub release Nov 5, 2026. ",
   "src": "https://github.com/software-mansion/react-native-gesture-handler"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "99 projects",
   "status": "info",
   "sub": "#5 of 105 in its category",
   "note": "Dependency in 99 public GitHub projects set up for AI coding agents that we scanned (1.6%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Docs for agents",
   "status": "yes",
   "sub": "llms.txt",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": "https://docs.swmansion.com/react-native-gesture-handler/llms.txt"
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What React Native Gesture Handler does",
   "parts": [
    {
     "t": "prose",
     "text": "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."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "React Native Gesture Handler popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "68",
       "of": "/ 100",
       "l": "Gid Score, #494 overall"
      },
      {
       "n": "14.7M",
       "l": "downloads a week, npm"
      },
      {
       "n": "6,807",
       "l": "GitHub stars"
      },
      {
       "n": "99",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How React Native Gesture Handler is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "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%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "54 projects, 2.2%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "50 projects, 1.6%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "39 projects, 1.2%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "13 projects, 2.8%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      },
      {
       "l": "9 projects, 2.6%",
       "v": "OpenCode",
       "path": "agents/opencode/"
      },
      {
       "l": "8 projects, 1.7%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      },
      {
       "l": "5 projects, 1.8%",
       "v": "Devin Desktop",
       "path": "agents/devin-desktop/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 100.0% of its projects",
       "v": "React Native",
       "path": "tools/react-native/"
      },
      {
       "l": "In 100.0% of its projects",
       "v": "react-native-safe-area-context",
       "path": "tools/react-native-safe-area-context/"
      },
      {
       "l": "In 99.0% of its projects",
       "v": "react-native-screens",
       "path": "tools/react-native-screens/"
      },
      {
       "l": "In 96.0% of its projects",
       "v": "Expo",
       "path": "tools/expo/"
      },
      {
       "l": "In 92.9% of its projects",
       "v": "React Native Reanimated",
       "path": "tools/react-native-reanimated/"
      },
      {
       "l": "In 100.0% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 75.8% of its projects",
       "v": "React Native Web",
       "path": "tools/react-native-web/"
      },
      {
       "l": "In 74.7% of its projects",
       "v": "React Navigation",
       "path": "tools/react-navigation-native/"
      }
     ]
    }
   ]
  },
  {
   "id": "profile",
   "nav": "Profile",
   "h2": "React Native Gesture Handler in practice",
   "parts": [
    {
     "t": "h3",
     "text": "Strengths"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Recognition happens off the JS thread",
       "v": "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."
      },
      {
       "l": "Hooks that settle conflicts on one component",
       "v": "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."
      },
      {
       "l": "Relations across components, including lists",
       "v": "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."
      },
      {
       "l": "Touchable with native feedback built in",
       "v": "The new Touchable component is meant to supersede Pressable and Buttons. The site lists scale, opacity, underlay and Android ripple feedback as built in."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Watch out for"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Three-minor React Native window",
       "v": "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."
      },
      {
       "l": "Version 3 needs React Native 0.82+",
       "v": "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."
      },
      {
       "l": "Everything must sit under the root view",
       "v": "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."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Wrap the app in GestureHandlerRootView"
    },
    {
     "t": "tabs",
     "label": "Example",
     "items": [
      {
       "tab": "Tsx",
       "code": "import { GestureHandlerRootView } from 'react-native-gesture-handler' ;\nexport default function App ( ) {\nreturn (\n< GestureHandlerRootView >\n< ActualApp />\n</ GestureHandlerRootView >\n) ;\n}"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "profile",
   "h2": "More about React Native Gesture Handler",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/software-mansion",
        "10 GitHub sponsors"
       ]
      },
      {
       "title": "Packages around it",
       "items": [
        "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"
       ]
      },
      {
       "title": "More in Desktop and mobile apps",
       "path": "tools/desktop-mobile/",
       "items": [
        {
         "text": "React Native",
         "path": "tools/react-native/"
        },
        {
         "text": "Expo",
         "path": "tools/expo/"
        },
        {
         "text": "react-native-safe-area-context",
         "path": "tools/react-native-safe-area-context/"
        },
        {
         "text": "react-native-screens",
         "path": "tools/react-native-screens/"
        },
        {
         "text": "React Navigation",
         "path": "tools/react-navigation-native/"
        },
        {
         "text": "React Native Async Storage",
         "path": "tools/react-native-async-storage-async-storage/"
        },
        {
         "text": "react-native-svg",
         "path": "tools/react-native-svg/"
        },
        {
         "text": "React Navigation Bottom Tabs",
         "path": "tools/react-navigation-bottom-tabs/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "React Native Gesture Handler",
       "me": true,
       "facts": [
        "MIT",
        "Gid 68",
        "14.7M/wk"
       ]
      }
     ],
     "more": "Compare React Native Gesture Handler with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install react-native-gesture-handler"
    },
    {
     "t": "h3",
     "text": "Rules for your agent"
    },
    {
     "t": "rules",
     "label": "Paste into AGENTS.md or CLAUDE.md",
     "text": "## React Native Gesture Handler\n- 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.\n- Wrap the app in `GestureHandlerRootView`, as close to the actual root as possible. Gestures outside it are not recognized.\n- Wrap `Modal` content in its own `GestureHandlerRootView`. With wix/react-native-navigation, wrap every registered screen.\n- In 3.x, create gestures with hooks such as `useTapGesture` and attach them with `GestureDetector`.\n- For gestures on the same component, use `useCompetingGestures`, `useSimultaneousGestures` or `useExclusiveGestures`. Across components, use `simultaneousWith`, `requireToFail` or `block`.\n- Do not try to set relations between hook-based gestures and gestures from previous APIs.\n- 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.\n"
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm react-native-gesture-handler"
  ],
  [
   "Category",
   "Desktop and mobile apps"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Latest version",
   "v3.3.0, September 11, 2026"
  ],
  [
   "On GitHub since",
   "October 2016"
  ],
  [
   "Gid Score",
   "67.8"
  ],
  [
   "Rank in category",
   "#5 of 105"
  ],
  [
   "GitHub",
   "software-mansion/react-native-gesture-handler"
  ],
  [
   "Last change",
   "Nov 19, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/software-mansion.png"
}