{"library":"react-viewer","type":"library","category":null,"description":"react-viewer is a dedicated image viewing component for React applications, providing a customizable and feature-rich lightbox experience. It is currently in version 3.2.2 and sees active development with frequent minor releases addressing bugs and adding features. A major version 4.0 is planned to re-introduce Server-Side Rendering (SSR) support. Key differentiators include its native React implementation, utilizing React Hooks and `ReactDOM.createPortal` for modern React patterns, offering a robust alternative to general-purpose JavaScript viewer libraries like Viewer.js within a React ecosystem. It supports various image operations like zooming, rotating, scaling, and offers extensive customization through props for toolbar, navbar, and general UI behavior. It ships with TypeScript type definitions.","language":"javascript","status":"active","version":"3.2.2","tags":["javascript","react","image","viewer","typescript"],"install":[{"cmd":"npm install react-viewer","imports":["import Viewer from 'react-viewer';","import type { ViewerProps } from 'react-viewer';","import 'react-viewer/dist/index.css';"]},{"cmd":"yarn add react-viewer","imports":[]},{"cmd":"pnpm add react-viewer","imports":[]}],"homepage":null,"github":"https://github.com/infeng/react-viewer","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-viewer","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-viewer/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Mon Jul 20","install_tag":null}}