<div id="swiper-05" class="swiper swiper-05">
  <div class="swiper-wrapper">
    <div class="swiper-slide">Slide 1</div>
    <div class="swiper-slide">Slide 2</div>
    <div class="swiper-slide">Slide 3</div>
    <div class="swiper-slide">Slide 4</div>
  </div>
  
  <!-- 追加コード -->
  <div class="swiper-pagination"></div>
  <!-- 追加コード -->
</div>
/* スワイパーで使うクラス */
.swiper-wrapper {
  width: 100%;
  height: 300px;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.swiper-slide:nth-child(1) {
  background-color: #fb4949;
}

.swiper-slide:nth-child(2) {
  background-color: #34dc1a;
}

.swiper-slide:nth-child(3) {
  background-color: #4FC3F7;
}

.swiper-slide:nth-child(4) {
  background-color: #FFC107;
}

.swiper .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet, .swiper .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 8px;
  width: 10px;
  height: 10px;
  background-color: rgba(0, 0, 0, .8);
}

.swiper .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet, .swiper .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet-active {
  background-color: #fff;
}
const Swiper_05 = new Swiper('#swiper-05', {
  
  /* 追加コード */
  pagination: {
    el: '.swiper-pagination',
    type: 'bullets',
    clickable: true
  }
  /* 追加コード */
  
});

External CSS

  1. https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css
  2. https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css

External JavaScript

  1. https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js