Swiper Coverflow Slider
A 3D coverflow carousel with depth, rotation and clickable pagination, powered by Swiper.
Requires Swiper. Add the CDN tags below to your page (styles in
<head>, scripts before </body>). The downloaded file already includes them.<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css"><script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script><div class="swiper cov">
<div class="swiper-wrapper">
<div class="swiper-slide" style="background:linear-gradient(135deg,#ff7a18,#ff477e)">1</div>
<div class="swiper-slide" style="background:linear-gradient(135deg,#5b6cff,#00d4ff)">2</div>
<div class="swiper-slide" style="background:linear-gradient(135deg,#16a34a,#a3e635)">3</div>
<div class="swiper-slide" style="background:linear-gradient(135deg,#8b5cf6,#ec4899)">4</div>
<div class="swiper-slide" style="background:linear-gradient(135deg,#f59e0b,#ef4444)">5</div>
</div>
<div class="swiper-pagination"></div>
</div>body{background:#0d1426}
.cov{width:440px;max-width:100%;padding-bottom:36px}
.cov .swiper-slide{width:200px;height:200px;border-radius:20px;display:grid;place-items:center;color:#fff;font:800 48px/1 system-ui,sans-serif;box-shadow:0 20px 40px rgba(0,0,0,.35)}
.swiper-pagination-bullet{background:#fff}new Swiper('.cov',{effect:'coverflow',grabCursor:true,centeredSlides:true,slidesPerView:'auto',loop:true,coverflowEffect:{rotate:40,stretch:0,depth:120,modifier:1,slideShadows:true},pagination:{el:'.swiper-pagination',clickable:true}});Free to use.This component uses Swiper (linked above). Copy any file, or download a ready-to-open .html page with the CDN links already included.