Crystal Slider

HTML

<div class="crystal-slider">
  <div data-crystal-thumbnail="img/slide-thumbnail-1.jpg">
    <img src="img/slide-1.jpg" alt="">
  </div>
  <div data-crystal-thumbnail="img/slide-thumbnail-2.jpg">
    <img src="img/slide-2.jpg" alt="">
  </div>
  <div data-crystal-thumbnail="img/slide-thumbnail-3.jpg">
    <img src="img/slide-3.jpg" alt="">
  </div>
</div>

JavaScript

const crystalSlider = new CrystalSlider({
  pagination: true,
  thumbnails: true
});