Skip to content

React-spring-lightbox

react-spring-lightbox is a modal photo gallery that aims to replicate all of the input UX of hardware-accelerated native image applications from touch swiping to Ctrl + Mousewheel zooming.

Features

  • Mousewheel, swipe or click+drag to page photos
  • Keyboard controls ← → Esc
  • Ctrl + Mousewheel or Trackpad Pinch to zoom
  • Double/Single-tap or double/single-click to zoom in/out
  • Pinch to zoom
  • Panning on zoomed-in images
  • Highly performant spring based animations via react-spring
  • No external CSS
  • Implement your own UI
  • Supports IE 11, Edge, Safari, Chrome, Firefox and Opera
  • Full typescript support
  • Supports any <img /> attribute including loading (lazy loading), srcset and aria-*

See also

Favorite site