React Native Hold Menu#

A performant, easy to use hold to open context menu for React Native powered by Reanimated.

Reanimated v2 version npm npm runs with expo

Features#

  • Powered with Reanimated v2. πŸš€
  • Smooth interactions & animations.
  • Supports dark/light Mode. 🌚 🌝
  • Supports device orientation change.
  • Compatible with Expo.
  • Written in TypeScript.

Installation#

This library currently written with Reanimated v2. If you use Reanimated v1 in your application, you may need waiting for next version of the Hold Menu. It is in my todo list.

yarn add react-native-hold-menu

Dependencies#

This library needs these dependencies to be installed in your project before you can use it:

yarn add react-native-reanimated@2.1.0 react-native-gesture-handler react-native-unimodules
info

React Native Gesture Handler needs extra steps to finalize its installation, please follow their installation instructions.

React Native Reanimated v2 needs extra steps to finalize its installation, please follow their installation instructions.

React Native Unimodules needs extra steps to finalize its installation, please follow their installation instructions. And make sure you excluded unwanted modules in your app. You can check the exampale project.

Todo#

  • Support for Reanimated v1
  • Support for Animated

Contributors#