Used by developers worldwide, Vertex Gallery enables you to create professional image galleries with the power of vanilla JavaScript.
npm install vertex-galleryEverything you need to create stunning image galleries
Flexible grid and Pinterest-style masonry layouts with responsive columns and automatic spacing.
Filter images by categories with smooth animations and elegant transitions.
Full-screen modal with zoom, pan, transform controls, autoplay, and more.
50+ CSS variables and extensive configuration options for complete theming.
Zero dependencies, lazy loading, and optimized performance for blazing fast load times.
Touch gestures, swipe navigation, and responsive breakpoints for all devices.
Get up and running in minutes
npm install vertex-galleryimport VertexGallery from 'vertex-gallery';
import 'vertex-gallery/dist/vertex-gallery.css';
const gallery = new VertexGallery(
document.getElementById('my-gallery'),
{
data: [
{
thumb: 'thumb.jpg',
large: 'large.jpg',
title: 'Image Title',
desc: 'Description',
category: 'nature'
}
]
}
);