Swiper 3D Cube
A rotating 3D cube slider with shadows, via Swiper.
Requires Bootstrap 5, 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/bootstrap@5.3.3/dist/css/bootstrap.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css"><script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script><script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script><div class="swiper swCube" style="width:200px;height:200px"><div class="swiper-wrapper">
<div class="swiper-slide rounded-3" style="background:linear-gradient(135deg,#ff7a18,#ff477e)"></div>
<div class="swiper-slide rounded-3" style="background:linear-gradient(135deg,#5b6cff,#00d4ff)"></div>
<div class="swiper-slide rounded-3" style="background:linear-gradient(135deg,#16a34a,#a3e635)"></div>
</div></div>new Swiper('.swCube',{effect:'cube',loop:true,autoplay:{delay:1800},cubeEffect:{shadow:true,slideShadows:true}});Free to use.This component uses Bootstrap 5, Swiper (linked above). Copy any file, or download a ready-to-open .html page with the CDN links already included.