Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.18 KB

File metadata and controls

52 lines (41 loc) · 1.18 KB

Overview

PhotoSwipe is a modular, mobile-friendly image gallery and lightbox. It provides smooth animations, touch gestures, and works on all modern browsers and devices. The library has official React bindings for easy integration.

Features

  • Touch gesture support (swipe, pinch-to-zoom, double-tap)
  • Responsive and mobile-friendly
  • Hardware-accelerated CSS3 transitions
  • Keyboard navigation
  • SVG-based UI controls
  • Lazy loading
  • Dynamic content support
  • Video support through plugins
  • Caption and share buttons
  • Fullscreen mode
  • Thumbnail navigation
  • Deep linking support
  • History API integration
  • Customizable UI
  • Modular architecture
  • TypeScript support
  • No dependencies

Performance

  • Lightweight (~20KB gzipped)
  • GPU-accelerated animations
  • Efficient memory usage
  • Lazy loads images
  • Preloads adjacent images

React Integration

  • Official React hooks available
  • Dynamic gallery updates
  • Works with React Router
  • SSR compatible
  • Easy event handling

Use Cases

  • Photo galleries
  • Portfolio websites
  • E-commerce product images
  • Real estate listings
  • Image-heavy blogs
  • Art and photography sites

Pricing

Free and open-source under the MIT license.