A vanila js library to show Crousal on image click
npm install pictureBox
Add class picture-box
to the img tag that you want to include in the crousal
<img class="picture-box" src="image1.jpg" />
Add a js file in your project add add
import { pictureBox } from "picture-box/pictureBox";
import "picture-box/pictureBox.css";
pictureBox.render();
Bundle it with webpack,parcel or any other bundler