{"repo":"tim-soft/react-spring-lightbox","free":true,"listed":false,"github":"https://github.com/tim-soft/react-spring-lightbox","clone":"git clone https://github.com/tim-soft/react-spring-lightbox.git","description":"📷 A flexible image gallery lightbox with native-feeling touch gestures and buttery smooth animations, built with react-spring.","language":"TypeScript","stars":247,"topics":["react","lightbox","images","gestures","touch","react-spring"],"license":"MIT","category":"ui-components","readme_excerpt":"react-spring-lightbox React-spring-lightbox is a flexible image gallery lightbox with native-feeling touch gestures and buttery smooth animations. Docs &nbsp;&nbsp;&nbsp; Codesandbox ✨ Features - :point up: &nbsp;&nbsp;&nbsp; Mousewheel , swipe or click+drag to page photos - :keyboard: &nbsp;Keyboard controls &leftarrow; &rightarrow; Esc - :mouse2: &nbsp; Ctrl + Mousewheel or Trackpad Pinch to zoom - :mag right: &nbsp;Double/Single-tap or double/single-click to zoom in/out - :ok hand: &nbsp;&nbsp;&nbsp;Pinch to zoom - :point left: &nbsp;Panning on zoomed-in images - :checkered flag: &nbsp;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 attribute including loading (lazy loading), srcset and aria- Install Usage The images prop now accepts a list of objects whose properties can be almost any valid React prop including srcset , loading (lazy loading) and aria- attributes. If you use typescript, the exact type can be imported from import { ImagesListType } from 'react-spring-lightbox'; Props Prop Description -------------------- ------------------------------------------------------------------------------------------------------------------ isOpen Flag that dictates if the lightbox is open or closed onClose Function that closes the Lightbox onPrev Function that changes currentIndex to previous image in images onNext Function that ","default_branch":null,"files":null,"tree":[],"storefront":"/r/tim-soft","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tim-soft/react-spring-lightbox/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}