• Stars
    star
    6,090
  • Rank 6,613 (Top 0.2 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created about 8 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

React Native Gesture Handler by Software Mansion

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

React Native Gesture Handler provides native-driven gesture management APIs for building best possible touch-based experiences in React Native.

With this library gestures are no longer controlled by the JS responder system, but instead are recognized and tracked in the UI thread. It makes touch interactions and gesture tracking not only smooth, but also dependable and deterministic.

Installation

Check getting started section of our docs for the detailed installation instructions.

Fabric

To learn how to use react-native-gesture-handler with Fabric architecture, head over to Fabric README. Instructions on how to run Fabric Example within this repo can be found in the FabricExample README.

Documentation

Check out our dedicated documentation page for info about this library, API reference and more: https://docs.swmansion.com/react-native-gesture-handler/docs/

Examples

If you want to play with the API but don't feel like trying it on a real app, you can run the example project. Clone the repo, go to the example folder and run:

yarn install

If you are running on ios, run pod install in the ios folder

Run yarn start to start the metro bundler

Run yarn android or yarn ios (depending on which platform you want to run the example app on).

You will need to have an Android or iOS device or emulator connected as well as react-native-cli package installed globally.

React Native Support

version react-native version
2.10.0+ 0.64.0+
2.0.0+ 0.63.0+
1.4.0+ 0.60.0+
1.1.0+ 0.57.2+
<1.1.0 0.50.0+

It may be possible to use newer versions of react-native-gesture-handler on React Native with version <= 0.59 by reverse Jetifying. Read more on that here https://github.com/mikehardy/jetifier#to-reverse-jetify--convert-node_modules-dependencies-to-support-libraries

License

Gesture handler library is licensed under The MIT License.

Credits

This project has been build and is maintained thanks to the support from Shopify, Expo.io and Software Mansion

shopify expo swm

More Repositories

1

react-native-reanimated

React Native's Animated library reimplemented
TypeScript
8,941
star
2

react-native-svg

SVG library for React Native, React Native Web, and plain React web projects.
Java
7,475
star
3

react-native-screens

Native navigation primitives for your React Native app.
TypeScript
3,039
star
4

react-freeze

Prevent React component subtrees from rendering.
TypeScript
1,539
star
5

radon-ide

VSCode extension that turns your editor into a fully fledged IDE for React Native and Expo.
JavaScript
947
star
6

starknet.py

✨ 🐍 Python SDK for Starknet.
Python
259
star
7

protostar

Protostar is a toolchain for developing and testing Starknet contracts
Python
247
star
8

scarb

The Cairo package manager
Rust
178
star
9

live-compositor

Media server for real-time, low latency, programmable video and audio mixing.
Rust
146
star
10

TypeGPU

TypeScript library that enhances the WebGPU API, allowing resource management in a type-safe, declarative way.
TypeScript
124
star
11

setup-ci

CLI to spin your CI/CD for react-native!
TypeScript
119
star
12

starknet-jvm

Starknet SDK for JVM languages (Java, Kotlin, Scala)
Kotlin
63
star
13

state-of-react-native

Repository for collaborating on the shape of the State of React Native surveys.
62
star
14

starknet.swift

Starknet SDK for Swift language
Swift
24
star
15

cairo-profiler

Profiler for Cairo programming language & Starknet
Rust
24
star
16

setup-scarb

Sets up Scarb in your GitHub Actions workflow.
JavaScript
19
star
17

docker-janus-gateway

Docker image of the Janus Gateway
Dockerfile
18
star
18

universal-sierra-compiler

Rust
15
star
19

asdf-scarb

Scarb plugin for the asdf version manager
Shell
7
star
20

cairo-coverage

Code coverage tool for cairo
Rust
6
star
21

scarb-nightlies

This repository stores nightly builds of Scarb, go to Releases to obtain them
3
star
22

software-mansion.github.io

2
star