react-native-gesture-handler

(★ 6,779)

Declarative API exposing platform native touch and gesture system to React Native.

File Explorer

  • .clang-format
  • .eslintrc.json
  • .git-blame-ignore-revs
  • .gitignore
  • .lintstagedrc.json
  • .prettierrc.json
  • .yarnrc.yml
  • AGENTS.md
  • CLAUDE.md
  • LICENSE
  • package.json
  • README.md
  • rnrepo.config.json
  • tsconfig.json
  • yarn.config.cjs
  • yarn.lock

# Installation Guide

node
Prerequisites

Setup Steps

yarn install

Install project dependencies.

yarn start

Start the Metro bundler.

yarn android

Build and run the example app on Android.

Key Commands

yarn install

Install all required package dependencies for the project.

yarn start

Run the React Native Metro bundler.

yarn android

Build and run the application on an Android emulator or device.

yarn ios

Build and run the application on an iOS simulator or device.

Navigate to the example folder, install dependencies, and run commands accordingly.

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

react-native

View Details ▼

A framework for building native apps with React.

react-native init {{project_name}}

Initialize a new React Native project in a directory of the same name:

react-native start

Start the metro bundler:

react-native start --reset-cache

Start the metro bundler with a clean cache:

🔍

yarn

View Details ▼

JavaScript and Node.js package manager alternative.

yarn global add {{module_name}}

Install a module globally:

yarn install

Install all dependencies referenced in the `package.json` file (the `install` is optional):

yarn add {{module_name}}@{{version}}

Install a module and save it as a dependency to the `package.json` file (add `--dev` to save as a dev dependency):

// repository documentation