10 Best Vanilla JavaScript Lightbox Libraries

List hand-picked by Openbase Experts
Learn More

lig

THE original Lightbox script (v2).

50.8K
5.8K
No support
gli

Pure Javascript lightbox with mobile support. It can handle images, videos with autoplay, inline content and iframes

13.2K
1.3K
No support
MIT
nanogallery2

a modern photo / video gallery and lightbox [JS library]

8.4K
605
No support
GPL-3.0
ui

JavaScript UI component library, includes the latest Fancybox

22.4K
364
Built-in
SEE LICENSE IN LICENSE.md
el

A lightbox gallery plugin for Bootstrap

27.5K
1.9K
No support
MIT
bg

blueimp Gallery is a touch-enabled, responsive and customizable image & video gallery, carousel and lightbox, optimized for both mobile and desktop web browsers. It features swipe, mouse and keyboard navigation, transition effects, slideshow functionality, fullscreen support and on-demand content loading.

17K
3.6K
No support
MIT
bj

⚡ Simple and easy to use lightbox script written in pure JavaScript

2.5K
2.3K
No support
MIT
big

Lightweight JavaScript image / video viewer. Supports Youtube, Vimeo, etc.

1.5K
783
No support
MIT
hal

A simple and basic Javascript lightbox.

28
76
No support
MIT
lig

A fast and super-small image viewer lightbox.

2
2
No support
MIT
Description
Author
License
Type Definitions
ESM Support
Tree Shakeable
Popularity
Downloads/wk
GitHub Stars
Reviews
User Rating
Voted Good Docs
Voted Easy of Use
Voted Performant
Top Positive Review
Top Negative Review
Issues
Total Issues
Open Issues
Avg Time to Close
Pull Requests
Total Pull Requests
Open Pull Requests
Avg Time to Merge
Community
Maintainers
Contributors
Contributors with 3+ commits
Top Committers
GitHub Forks
Versions
# of Versions
Latest
Next
Beta
Newest
Oldest
Major Every
Minor Every
Patch Every
Dependencies
Dependencies
Dev Dependencies
Links
More Info
README
Tutorials
Install Command
There's Nothing Here
No packages are selected.
Select a few packages to compare.