{"library":"react-medium-image-zoom","type":"library","category":null,"description":"React Medium-style Image Zoom is a JavaScript library providing an accessible, high-fidelity image zooming experience inspired by Medium.com, specifically designed for React applications. Currently stable at version `5.4.3`, the project maintains an active release cadence with frequent patch and minor updates addressing bug fixes and introducing new features. A key differentiator is its comprehensive support for various image and content types, including standard `<img>` tags (with `object-fit`, `object-position`, `loading=\"lazy\"`), `<div>` and `<span>` elements with `background-image` properties, `<picture>`, `<figure>`, and even `<svg>`. The library prioritizes accessibility, offering robust screen reader support across major platforms (JAWS, NVDA, VoiceOver, TalkBack). It integrates seamlessly with modern React frameworks like Next.js and Gatsby, requiring React `^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0` and React DOM as peer dependencies. Notably, it boasts zero *direct* runtime dependencies, relying on native browser features like the `<dialog>` element and `ResizeObserver` for its core functionality. It expects an `ES2021` build target, potentially requiring transpilation for older environments.","language":"javascript","status":"active","version":"5.4.3","tags":["javascript","react","medium","image","zoom","image-zoom","modal","react-component","typescript"],"install":[{"cmd":"npm install react-medium-image-zoom","imports":["import Zoom from 'react-medium-image-zoom'","import 'react-medium-image-zoom/dist/styles.css'","import type { UncontrolledProps } from 'react-medium-image-zoom'"]},{"cmd":"yarn add react-medium-image-zoom","imports":[]},{"cmd":"pnpm add react-medium-image-zoom","imports":[]}],"homepage":"https://medium.com/","github":"https://github.com/rpearce/react-medium-image-zoom","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-medium-image-zoom","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/react-medium-image-zoom/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}