Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. lit
  3. <light-gallery>

<light-gallery>

NOASSERTIONTypeScript2.9.0

A customizable, modular, responsive, and dependency-free lightbox gallery plugin for images, videos, and HTML content.

Visit WebsiteGitHubGitHub
7.0k stars1.3k forks0 contributors

What is <light-gallery>?

lightGallery is a JavaScript lightbox gallery plugin that allows developers to create interactive, responsive galleries for images, videos, and HTML content. It solves the need for a customizable, high-performance gallery solution with no external dependencies, offering modular plugins for extended functionality like zoom, thumbnails, and social sharing.

Target Audience

Web developers and designers building media-rich websites, portfolios, or applications who need a flexible, touch-optimized gallery with support for multiple content types and frameworks like React, Vue, and Angular.

Value Proposition

Developers choose lightGallery for its modular, dependency-free architecture, extensive feature set including video support and accessibility, and seamless integration with popular JavaScript frameworks, all while maintaining high performance and customization options.

Overview

A customizable, modular, responsive, lightbox gallery plugin.

Use Cases

Best For

  • Creating responsive image galleries for portfolio websites
  • Building video galleries with YouTube and Vimeo integration
  • Implementing touch-optimized galleries for mobile web apps
  • Adding zoom and thumbnail functionality to media-heavy projects
  • Developing accessible galleries with keyboard navigation support
  • Creating modular galleries where features can be added via plugins

Not Ideal For

  • Static sites or JAMstack projects that prioritize zero-JavaScript solutions for gallery display
  • Teams wanting an out-of-the-box, fully styled gallery without manual CSS customization or configuration
  • Projects with extremely tight performance budgets where every kilobyte of JavaScript bundle size is critically scrutinized

Pros & Cons

Pros

Modular Plugin System

Allows selective inclusion of features like zoom and thumbnails via plugins, reducing bundle size and keeping the core lightweight, as highlighted in the modular architecture and installation steps.

Comprehensive Media Support

Handles images, videos from YouTube, Vimeo, and HTML content with built-in plugins, making it versatile for mixed media galleries, as demonstrated in the core features.

Touch and Accessibility Ready

Optimized for mobile with swipe gestures and includes keyboard navigation and accessibility features, ensuring a good user experience across devices, as noted in the responsive design and accessibility support.

Framework Agnostic

Works with vanilla JavaScript and has dedicated documentation for React, Vue, and Angular, providing flexibility for different tech stacks, as shown in the installation and framework links.

Cons

Commercial License Requirement

For commercial use, a paid license is mandatory, which adds cost and licensing complexity compared to fully open-source alternatives, as mentioned in the license section.

Setup and Configuration Overhead

Requires manual inclusion of CSS and JS files, plugin management, and initialization, which can be time-consuming for simple galleries or less experienced developers, as seen in the multi-step installation process.

Potential Bundle Bloat

Even with modularity, including multiple plugins can increase bundle size, impacting load times on slow networks, as implied by the separate file inclusions and tree-shaking considerations.

Frequently Asked Questions

Quick Stats

Stars7,042
Forks1,297
Contributors0
Open Issues55
Last commit2 days ago
CreatedSince 2014

Tags

#video-gallery#modular-architecture#touch-optimized#css-animations#html5-video#social-sharing#lightbox#thumbnails#lightbox-gallery#accessibility#javascript-plugin#vimeo#youtube#image-zoom#video#no-dependencies#image-gallery#responsive-design

Built With

J
JavaScript
S
SCSS
T
TypeScript

Links & Resources

Website

Included in

lit1.7k
Auto-fetched 12 hours ago

Related Projects

<model-viewer><model-viewer>

Easily display interactive 3D models on the web and in AR!

Stars8,174
Forks941
Last commit18 days ago
<editor-container><editor-container>

🧩 Content editing tech stack for the web - BlockSuite is a toolkit for building editors and collaborative applications.

Stars5,942
Forks559
Last commit1 day ago
<rapi-doc><rapi-doc>

RapiDoc -WebComponent for OpenAPI Spec

Stars1,896
Forks323
Last commit5 months ago
<lottie-player><lottie-player>

Lottie viewer/player as an easy to use web component! https://lottiefiles.com/web-player

Stars1,655
Forks182
Last commit3 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub