Simple Lightbox Gallery

A lightweight, simple lightbox gallery plugin. Open source with commercial licensing options.


    // Quick setup
    import SimpleLightboxGallery from 'simple-lightbox-gallery';
    import 'simple-lightbox-gallery/dist/simple-lightbox-gallery.css';
                            
    const gallery = new SimpleLightboxGallery({
    containerClass: 'gallery',
    showCaption: true
    });

Gallery simple demo

Images from picsum.photos

Features

Responsive Grid Gallery

Automatically adjusts to screen size with customizable grid layout and image spacing.

Touch & Keyboard Navigation

Full keyboard support and touch gestures for easy image navigation and zooming.

Image Zoom & Pan

Smooth image zooming with pan functionality for detailed image viewing.

Fullscreen Mode

View images in immersive fullscreen mode with one click.

Slideshow Support

Auto-play slideshow functionality with customizable timing.

Thumbnail Navigation

Optional thumbnail strip for quick image preview and navigation.

Accessible

ARIA support, keyboard navigation, and screen reader announcements built-in.

Framework Agnostic

Works with any JavaScript framework or vanilla JS projects.

Zero Dependencies

Lightweight and fast with no external dependencies required.

Try It Out

Choose Your License

simple-lightbox-gallery is a free and open-source library, however, if you are using the library for business, commercial sites, projects, and applications, choose the commercial/extended license to keep your source proprietary, to yourself.

GPL License

Free

For open source projects

  • ✓ Full source code
  • ✓ GPL v3 License
  • ✓ Community support
  • ✕ Commercial use
  • ✕ Private code
Download

Extended License

$149

For SaaS & large projects (SDKs, Themes etc.)

  • ✓ Everything in Commercial
  • ✓ Unlimited developers & projects within the same organisation
  • ✓ SaaS usage rights
  • ✓ Multiple domains
  • ✓ GitHub & Email support
Buy License

Works Everywhere

React
Vue
Angular
Nextjs
WordPress
Shopify
Webflow