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
});
Images from picsum.photos
Automatically adjusts to screen size with customizable grid layout and image spacing.
Full keyboard support and touch gestures for easy image navigation and zooming.
Smooth image zooming with pan functionality for detailed image viewing.
View images in immersive fullscreen mode with one click.
Auto-play slideshow functionality with customizable timing.
Optional thumbnail strip for quick image preview and navigation.
ARIA support, keyboard navigation, and screen reader announcements built-in.
Works with any JavaScript framework or vanilla JS projects.
Lightweight and fast with no external dependencies required.
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.
For open source projects
For commercial projects
For SaaS & large projects (SDKs, Themes etc.)