Lightweight Swipeable Modal Component For React Native

A lightweight and swipeable React Native modal component for iOS & Android. Based on react-native-gesture-handler and react-native-reanimated.

How to use it:

1. Install & import the modal component.

# Yarn
$ yarn add @jetrockets/react-native-modal react-native-gesture-handler react-native-reanimated
import { GestureModal } from '@jetrockets/react-native-modal';

2. Create a basic modal.

function App() {
  return (
    <GestureModal visible={isVisible} setVisible={setVisible}>
      <View>
        <Text>Your Text Here</Text>
      </View>
    </GestureModal>
  )
}

Preview:

Lightweight Swipeable Modal Component

Download Details:

Author: jetrockets

Live Demo: View The Demo

Download Link: Download The Source Code

Official Website: https://github.com/jetrockets/react-native-modal

License: MIT

Add Comment