
Security News
Deno 2.4 Brings Back deno bundle, Improves Dependency Management and Observability
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
react-image-zoom-in-place
Advanced tools
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
A react component to display zoomable images.
The zoom works both on mouse & touchscreen, and is done within the original bounds of the image.
Name | Type | Optional | Description |
---|---|---|---|
src | string | url or base64 string for the image | |
alt | string | x | alt text for the image (using an aria-label) |
zoom | number | default zoom on mouse hover | |
maxZoom | number | maximum allowed zoom muliplication by scroll or touch pinch | |
step | number | zoom step on mouse scroll | |
width | number | x | override default width |
height | number | x | override default height |
Width and height parameters are optional, but using them can avoid layout shift when the image loads. If only one is defined, the second one is derived from the image aspect ratio.
import { ZoomableImage } from "react-image-zoom-in-place";
export default function Home() {
return (
<div >
<ZoomableImage
src={"<image url or base64 here>"}
alt="alt text"
zoom={2}
maxZoom={10}
step={0.1}
/>
</div>
);
}
MIT
https://github.com/MilanFIN/react-image-zoom-in-place
FAQs
A react component to display zoomable images.
The npm package react-image-zoom-in-place receives a total of 11 weekly downloads. As such, react-image-zoom-in-place popularity was classified as not popular.
We found that react-image-zoom-in-place demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.