React Native Gallery

screenshot of React Native Gallery

A pure JavaScript image gallery component for react-native apps with common gestures like pan, pinch and doubleTap, supporting both iOS and Android.

Overview:

The react-native-gallery is a pure JavaScript image gallery component designed for react-native apps. It supports common gestures like pan, pinch, and double-tap on both iOS and Android platforms. The component aims to be a top choice for image viewing in react-native apps by focusing on elegant design and functionality, including features like mimicking the iOS system photo album app.

Features:

  • Gesture Handle: Supports common gestures like pan, pinch, double-tap, with a focus on targeting the focal point when zooming in and out.
  • Responder Switch: Offers a flexible gesture responder switch between the scrollable container and wrapped image children.
  • Easy to Use: Utilizes @ldn0x7dc/react-native-view-pager as the scrollable container and react-native-transformable-image as the wrapped image.

Summary:

The react-native-gallery component is a versatile image gallery solution for react-native apps, offering smooth gestures like pan, pinch, and double-tap. It focuses on delivering an elegant user experience by mimicking the iOS system photo album app interface. With its ease of use and flexibility in gesture handling, this component provides a solid option for developers looking to enhance image viewing capabilities in their react-native applications.