Skip to content
Projects

willnguyen1312/zoom-image has 357 GitHub stars and 14 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-18 00:50 UTC. Last push 2026-10-13.

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

A little yet powerful framework agnostic headless library to zoom images on the web

Web & Apps

README.md

Original

Github Checks Github Stars


Zoom Image

A little yet powerful framework agnostic headless library to zoom images on the web. It is a typical experience on e-commerce sites. Examples are written with Preact, React, Svelte, Vanilla JS and Vue.

  • ✅ Zoom on wheel (scroll & pinch)
  • ✅ Zoom on hover
  • ✅ Zoom on move
  • ✅ Zoom on click

Development

git clone https://github.com/willnguyen1312/zoom-image
cd zoom-image
pnpm install
pnpm build

PR contribution

Please run pnpm changeset and input your change before open PR

Commands

Please change all versions from "latest" to "workspace:*" inside the example project you want to start, run pnpm install before executing one of the commands below. I wanted to keep those packages for Stackblitz usage so I use "latest", unfortunately pnpm doesn't understand it during local development 🙈

With Docs

pnpm start-docs

With Preact

pnpm start-preact

With React

pnpm start-react

With Remix

pnpm start-remix

With Next

pnpm start-next

With Svelte

pnpm start-svelte

With Svelte 5

pnpm start-svelte-5

With Vanilla JS

pnpm start-vanilla

With Vue

pnpm start-vue

With Solid

pnpm start-solid

With Qwik

pnpm start-qwik

Relevant projects

  • react-zoomable-media - The library I wrote for my previous company
  • zagjs - The project's architecture is inspired by this library
  • TanStack - The project's core headless pattern is heavily inspired by this project - Headless UI
  • js-image-zoom - The internal working of zoom image on hover is inspired by this library

Sponsor

Buy Me A Coffee

License

MIT © Nam Nguyen