PhotoSwipe is a modular Vanilla JS image gallery for high resolution images for mobile and desktop.
Install it via npm install photoswipe
and import the css
& js
into your project.
@import 'photoswipe/dist/photoswipe';
@import 'photoswipe/dist/default-skin/default-skin';
import PhotoSwipe from 'photoswipe/dist/photoswipe.js'
import PhotoSwipeUI_Default from 'photoswipe/dist/photoswipe-ui-default.js'
Find more information in the official documentation.