10 Best Vanilla JavaScript Gallery Libraries

Curated by the Openbase team and community.Learn more

Curated by the Openbase team and community. Learn more

lj

lightgallery.js

Full featured JavaScript image & video gallery. No dependencies

License Icon
License: GPL-3.0-or-later
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
1Performant
1Highly Customizable
1Responsive Maintainers
GitHub Stars
5K
Weekly Downloads
13K
Last Commit
4mos ago
Bundle Size (min+gzip)
6.61KB
Not Tree-Shakeable
pho

photoswipe

JavaScript image gallery for mobile and desktop, modular, framework independent

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.3/ 5
16
Top Feedback
1Great Documentation
1Easy to Use
1Performant
GitHub Stars
21K
Weekly Downloads
63K
Last Commit
6mos ago
Bundle Size (min+gzip)
11.9KB
Not Tree-Shakeable
pan

panolens

Javascript panorama viewer based on Three.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.0/ 5
1
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
1K
Last Commit
3mos ago
Bundle Size (min+gzip)
165.9KB
Tree-Shakeable
zj

zoomwall.js

A content-focused photo gallery using a horizontal masonry layout that scales up in lightbox mode.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
264
Weekly Downloads
215
Last Commit
5d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

nanogallery2

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

License Icon
License: GPL-3.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
545
Weekly Downloads
5K
Last Commit
8mos ago
Bundle Size (min+gzip)
91.2KB
Not Tree-Shakeable
jus

justifiedGallery

Javascript library to help creating high quality justified galleries of images. Used by thousands of websites as well as the photography community 500px.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
753
Last Commit
20d ago
Bundle Size (min+gzip)
35.0KB
Not Tree-Shakeable
bas

basiclightbox

The lightest lightbox ever made.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
349
Weekly Downloads
5K
Last Commit
9mos ago
Bundle Size (min+gzip)
1.24KB
Not Tree-Shakeable
el

ekko-lightbox

A lightbox gallery plugin for Bootstrap

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
1Great Documentation
1Easy to Use
1Performant
GitHub Stars
2K
Weekly Downloads
23K
Last Commit
3yrs ago
Bundle Size (min+gzip)
4.24KB
Not Tree-Shakeable
gal

galleria

The JavaScript Image Gallery

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
213
Last Commit
2yrs ago
Bundle Size (min+gzip)
53.1KB
Not Tree-Shakeable
jso

jsonlylightbox

Responsive Lightbox in plain JS. No need for jQuery.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
156
Weekly Downloads
38
Last Commit
4yrs ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
sj

simplezoom.js

A tiny JavaScript library to preview images, better way!

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
81
Weekly Downloads
5
Last Commit
5yrs ago
Bundle Size (min+gzip)
1.15KB
Not Tree-Shakeable

photor

jQuery photo gallery.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
76
Weekly Downloads
4
Last Commit
5yrs ago
Bundle Size (min+gzip)
6.57KB
Not Tree-Shakeable