{"id":13580841,"url":"https://github.com/willnguyen1312/zoom-image","last_synced_at":"2026-01-28T08:40:17.991Z","repository":{"id":159251280,"uuid":"634247280","full_name":"willnguyen1312/zoom-image","owner":"willnguyen1312","description":"A little yet powerful framework agnostic headless library to zoom images on the web","archived":false,"fork":false,"pushed_at":"2025-11-27T18:28:02.000Z","size":41045,"stargazers_count":353,"open_issues_count":0,"forks_count":11,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-23T23:29:34.261Z","etag":null,"topics":["frameworks","headless","nextjs","preact","qwik","react","remix","solidjs","svelte","vanilla-js","vue","zoom"],"latest_commit_sha":null,"homepage":"https://willnguyen1312.github.io/zoom-image/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willnguyen1312.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["willnguyen1312"]}},"created_at":"2023-04-29T14:15:56.000Z","updated_at":"2025-12-31T08:20:04.000Z","dependencies_parsed_at":"2025-11-22T14:05:40.829Z","dependency_job_id":null,"html_url":"https://github.com/willnguyen1312/zoom-image","commit_stats":{"total_commits":401,"total_committers":6,"mean_commits":66.83333333333333,"dds":"0.23192019950124687","last_synced_commit":"eb6135a5c6e1753f39d91c8d22955b400e51c24d"},"previous_names":[],"tags_count":470,"template":false,"template_full_name":null,"purl":"pkg:github/willnguyen1312/zoom-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnguyen1312%2Fzoom-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnguyen1312%2Fzoom-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnguyen1312%2Fzoom-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnguyen1312%2Fzoom-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willnguyen1312","download_url":"https://codeload.github.com/willnguyen1312/zoom-image/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnguyen1312%2Fzoom-image/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28842833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T07:39:25.367Z","status":"ssl_error","status_checked_at":"2026-01-28T07:39:24.487Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["frameworks","headless","nextjs","preact","qwik","react","remix","solidjs","svelte","vanilla-js","vue","zoom"],"created_at":"2024-08-01T15:01:55.589Z","updated_at":"2026-01-28T08:40:17.985Z","avatar_url":"https://github.com/willnguyen1312.png","language":"TypeScript","funding_links":["https://github.com/sponsors/willnguyen1312","https://www.buymeacoffee.com/namnguyenle"],"categories":["TypeScript","UI Components"],"sub_categories":["Photo / Image"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Github Checks\" src=\"https://badgen.net/github/checks/willnguyen1312/zoom-image/main\"/\u003e\n  \u003cimg alt=\"Github Stars\" src=\"https://badgen.net/github/stars/willnguyen1312/zoom-image\" /\u003e\n\u003c/p\u003e\n\n\u003cbr /\u003e\n\n- [Zoom Image](#zoom-image)\n- [Development](#development)\n- [Commands](#commands)\n  - [With Docs](#with-docs)\n  - [With Preact](#with-preact)\n  - [With React](#with-react)\n  - [With Remix](#with-remix)\n  - [With Next](#with-next)\n  - [With Svelte](#with-svelte)\n  - [With Svelte 5](#with-svelte-5)\n  - [With Vanilla JS](#with-vanilla-js)\n  - [With Vue](#with-vue)\n  - [With Solid](#with-solid)\n  - [With Qwik](#with-qwik)\n- [Relevant projects](#relevant-projects)\n- [Sponsor](#sponsor)\n- [License](#license)\n\n## Zoom Image\n\nA little yet powerful framework agnostic headless library to zoom images on the web. It is a typical experience on\ne-commerce sites. Examples are written with Preact, React, Svelte, Vanilla JS and Vue.\n\n- ✅ Zoom on wheel (scroll \u0026 pinch)\n- ✅ Zoom on hover\n- ✅ Zoom on move\n- ✅ Zoom on click\n\n## Development\n\n```bash\ngit clone https://github.com/willnguyen1312/zoom-image\ncd zoom-image\npnpm install\npnpm build\n```\n\n## PR contribution\n\nPlease run `pnpm changeset` and input your change before open PR\n\n## Commands\n\nPlease change all versions from \"latest\" to \"workspace:\\*\" inside the example project you want to start, run pnpm\ninstall before executing one of the commands below. I wanted to keep those packages for Stackblitz usage so I use\n\"latest\", unfortunately pnpm doesn't understand it during local development 🙈\n\n### With Docs\n\n```bash\npnpm start-docs\n```\n\n### With Preact\n\n```bash\npnpm start-preact\n```\n\n### With React\n\n```bash\npnpm start-react\n```\n\n### With Remix\n\n```bash\npnpm start-remix\n```\n\n### With Next\n\n```bash\npnpm start-next\n```\n\n### With Svelte\n\n```bash\npnpm start-svelte\n```\n\n### With Svelte 5\n\n```bash\npnpm start-svelte-5\n```\n\n### With Vanilla JS\n\n```bash\npnpm start-vanilla\n```\n\n### With Vue\n\n```bash\npnpm start-vue\n```\n\n### With Solid\n\n```bash\npnpm start-solid\n```\n\n### With Qwik\n\n```bash\npnpm start-qwik\n```\n\n## Relevant projects\n\n- [react-zoomable-media](https://github.com/willnguyen1312/react-zoomable-media) - The library I wrote for my previous\n  company\n- [zagjs](https://github.com/chakra-ui/zag) - The project's architecture is inspired by this library\n- [TanStack](https://tanstack.com) - The project's core headless pattern is heavily inspired by this project - Headless\n  UI\n- [js-image-zoom](https://github.com/malaman/js-image-zoom) - The internal working of zoom image on hover is inspired by\n  this library\n\n## Sponsor\n\n\u003ca href=\"https://www.buymeacoffee.com/namnguyenle\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 60px !important;width: 217px !important;\" \u003e\u003c/a\u003e\n\n## License\n\nMIT © [Nam Nguyen](https://github.com/willnguyen1312)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillnguyen1312%2Fzoom-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillnguyen1312%2Fzoom-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillnguyen1312%2Fzoom-image/lists"}