Zoom any DOM element using multi-touch gestures.


  • PinchZoom
  • Double tap zoom
  • Dragging
  • No dependencies
  • Support for AMD module loaders
  • Hardware acceleration, using 3D CSS transformations

Device support

Works on both iOS and Android. Currently used in multiple iOS and Android apps.


It's possible to combine PinchZoom with other libraries like swipe.js. It cares about event bubbling: Unused touch events are bubbling up in the DOM and can be handled by other libraries.

Demo: Swipe + PinchZoom