hakimel/zoom.js
zoom in on any element in the DOM observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5366
- days_rel: n/a
- days_push: 1945
- n_releases_24m: 0
Adoption not part of the score
1609 stars · 280 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
zoom.js is a small proof-of-concept JavaScript library that provides a minimal API for zooming in on specific points or DOM elements in the browser. It supports zooming to an element or coordinates with padding and callback options, and zooming back out.
Use cases
- zoom in on an image when clicked
- magnify a specific DOM element in a presentation
- zoom to a point on the page with a given scale
- add a click-to-zoom effect to a demo or landing page
- programmatically zoom into page regions and reset with zoom.out()
When to choose
- you want a tiny dependency-free zoom effect for demos or presentations
- you need a simple API to zoom to elements or coordinates in modern browsers
When to avoid
- you need IE support
- you need a production-ready, maintained zoom solution
- you need pinch-zoom or touch gesture handling
Facets
library · maturity experimental
animation ui-components web-development frontend browser dom-zoom proof-of-concept presentation-effect javascript
2 sources
- readme: https://github.com/hakimel/zoom.js · fetched 2026-08-28 · 6a516770e3b8
- homepage: http://lab.hakim.se/zoom-js · fetched 2026-08-29 · f4b3a2aa5f55
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hakimel/zoom.js | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem