# react-zoom-image-component

> A React component for zooming into images.

Latest version **0.1.6** (published 2023-12-18) · 0 weekly downloads

## Install

```sh
npm install react-zoom-image-component
pnpm add react-zoom-image-component
yarn add react-zoom-image-component
bun add react-zoom-image-component
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2023-12-18 |
| First published | 2023-12-18 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 13 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | shubhampawar |

## Links

- npm: https://www.npmjs.com/package/react-zoom-image-component
- npm.io page: https://npm.io/package/react-zoom-image-component

## Dependencies (7)

- [react](https://npm.io/package/react.md) ^18.2.0
- [react-dom](https://npm.io/package/react-dom.md) ^18.2.0
- [web-vitals](https://npm.io/package/web-vitals.md) ^2.1.4
- [react-scripts](https://npm.io/package/react-scripts.md) 5.0.1
- [@testing-library/react](https://npm.io/package/@testing-library/react.md) ^13.4.0
- [@testing-library/jest-dom](https://npm.io/package/@testing-library/jest-dom.md) ^5.17.0
- [@testing-library/user-event](https://npm.io/package/@testing-library/user-event.md) ^13.5.0

## Recent versions

- 0.1.6 (latest) — 2023-12-18
- 0.1.5 — 2023-12-18
- 0.1.4 — 2023-12-18
- 0.1.3 — 2023-12-18
- 0.1.2 — 2023-12-18
- 0.1.1 — 2023-12-18
- 0.1.0 — 2023-12-18

## README

# React Zoom Image Component

A React component for zooming into images.

npm install react-zoom-image-component

Import the Zoom component in your React application and use it to enable zoom functionality for your images.

import {Zoom} from 'react-zoom-image-component'

 ## <Zoom
        imgId="myimage"
        resultId="myresult"
        imgWidth={300}
        imgHeight={240}
        imgUrl="https://example.com/path/to/your-image.jpg"
      />

Props
imgId: Identifier for the image element.
resultId: Identifier for the result element.
imgWidth: Width of the image.
imgHeight: Height of the image.
imgUrl: URL or path to the image. Can be a remote URL or a local path.

---
_Source: https://npm.io/package/react-zoom-image-component · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
