Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. React Native
  3. react-native-zoom-image

react-native-zoom-image

MITJavaScript

A React Native component for zooming and panning network images with modal presentation.

GitHubGitHub
111 stars10 forks0 contributors

What is react-native-zoom-image?

react-native-zoom-image is a React Native component that enables zooming and panning on network images within a modal overlay. It solves the need for an interactive image viewer in mobile apps, allowing users to inspect images closely with smooth animations and gesture controls.

Target Audience

React Native developers building iOS or Android apps that require interactive image viewing features, such as social media, gallery, or product showcase applications.

Value Proposition

Developers choose this component for its straightforward integration, customizable animations, and native-like gesture handling, providing a polished image viewing experience without complex setup.

Overview

Image Viewer Component For React Native (like twitter)

Use Cases

Best For

  • Adding Twitter-like image zoom to React Native apps
  • Implementing gallery viewers with pinch-to-zoom functionality
  • Enhancing user experience in social media applications
  • Building product image viewers for e-commerce apps
  • Creating interactive image showcases in mobile applications
  • Adding modal-based image inspection features

Not Ideal For

  • Projects that need to display local images or non-HTTPS network images
  • Apps requiring automatic image size detection without manual prop specification
  • Teams wanting drop-in, heavily pre-styled image components with extensive theming options
  • Applications where server-side rendering or web support is essential (mobile-only)

Pros & Cons

Pros

Native-Like Gestures

Enables intuitive pinch-to-zoom and drag-to-pan with smooth animations, mimicking the Twitter image viewer experience as shown in the GIF examples.

Custom Animation Control

Offers props for easing functions and durations (showDuration, closeDuration, rebounceDuration) to fine-tune the animation flow, allowing tailored user interactions.

Easy Integration

Simple npm install and prop-based configuration make it quick to add zoom functionality, as demonstrated in the straightforward usage example with minimal code.

Modal Overlay Design

Presents images in a modal with smooth show and close transitions, enhancing focus and usability without disrupting the app interface.

Cons

HTTPS-Only Limitation

Only supports HTTPS network images and cannot detect original sizes, requiring manual size specification via imgStyle prop, which limits flexibility for diverse image sources.

Platform-Specific Workarounds

For HTTP images, developers must modify info.plist on iOS, adding platform-dependent setup steps that complicate cross-platform development.

Basic Styling Options

Focuses on functionality over aesthetics; advanced visual customizations may require additional CSS work, as the style prop is minimal and not heavily documented.

Gesture Configuration Complexity

Props like responderNegotiate require custom logic for gesture handling, which could be daunting for developers unfamiliar with React Native's gesture system.

Frequently Asked Questions

Quick Stats

Stars111
Forks10
Contributors0
Open Issues4
Last commit8 years ago
CreatedSince 2017

Tags

#ios#modal-component#ui-component#android#image-viewer#react-native#mobile-development#gesture-handling

Built With

R
React Native

Included in

React Native35.6k
Auto-fetched 19 hours ago

Related Projects

react-native-vector-iconsreact-native-vector-icons

Customizable Icons for React Native with support for image source and full styling.

Stars17,905
Forks2,101
Last commit1 month ago
lottie-react-nativelottie-react-native

Lottie wrapper for React Native.

Stars17,189
Forks1,799
Last commit9 days ago
react-native-mapsreact-native-maps

React Native Mapview component for iOS + Android

Stars15,980
Forks4,953
Last commit21 hours ago
react-native-gifted-chatreact-native-gifted-chat

💬 The most complete chat UI for React Native

Stars14,446
Forks3,603
Last commit15 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub