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

react-iv-viewer

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-iv-viewer

`react-iv-viewer` is a React-based library for viewing images with advanced features like zooming, high-resolution image support, and full-screen viewing. It provides an easy way to integrate image viewing functionality into your React applications.

  • 1.0.1
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Getting Started

react-iv-viewer is a React-based library for viewing images with advanced features like zooming, high-resolution image support, and full-screen viewing. It provides an easy way to integrate image viewing functionality into your React applications.

Features

  • Smooth dragging and panning of images
  • Support for touch devices
  • Double tap to zoom in/zoom out
  • Pinch in/out to control zoom
  • Zooming with mouse wheel or buttons
  • High-resolution image support
  • Full-screen image viewing
  • Customizable viewer dimensions
  • Event handlers for zoom and load events
  • TypeScript support

Demos

See the demo of react-iv-viewer. Demo

Install

using npm

npm install react-iv-viewer

using yarn

yarn add react-iv-viewer
Import its style
// Import css
import 'react-iv-viewer/dist/react-iv-viewer.css';

You can choose to import css file inside your scss/less files.

ES6

Image Viewer

import { ImageViewer } from 'react-iv-viewer';

Fullscreen Viewer

import { FullScreenImageViewer } from 'react-iv-viewer';

Documentation

See full documentation of react-iv-viewer

FAQs

Package last updated on 15 Aug 2024

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