Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-image-pan-zoom-rotate

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-image-pan-zoom-rotate

React library to give control on image to move zoom and rotate

  • 1.6.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.7K
increased by49.16%
Maintainers
1
Weekly downloads
 
Created
Source

React Image Pan, Zoom & Rotate

React library to give control on image to move zoom and rotate

NPM JavaScript Style Guide npm type definitions

Demo

image

Edit q8wl1joow9

Features

  • Drag & Move
  • Zoom In
  • Zoom Out
  • Rotate (in Left only)
  • Flip Image
  • Reset

Install

npm install --save react-image-pan-zoom-rotate

or

> yarn add react-image-pan-zoom-rotate

Usage

import React from 'react';
import ReactPanZoom from 'react-image-pan-zoom-rotate';

const App = () => {
  return (
    <ReactPanZoom
      image="https://images.unsplash.com/photo-1551091708-fda32ed3178c"
      alt="Image alt text"
    />
  );
};

export default App;

or Check example folder below file to use your custom UI

ReactPanZoom.tsx

License

MIT © mgorabbani

Keywords

FAQs

Package last updated on 04 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc