Swiper Cards Stack
A swipeable stacked-cards effect, 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 swCards" style="width:200px;height:240px"><div class="swiper-wrapper">
<div class="swiper-slide rounded-3 d-grid text-white fw-bold" style="place-items:center;font-size:28px;background:linear-gradient(135deg,#7b2ff7,#f107a3)">A</div>
<div class="swiper-slide rounded-3 d-grid text-white fw-bold" style="place-items:center;font-size:28px;background:linear-gradient(135deg,#0d6efd,#00d4ff)">B</div>
<div class="swiper-slide rounded-3 d-grid text-white fw-bold" style="place-items:center;font-size:28px;background:linear-gradient(135deg,#16a34a,#a3e635)">C</div>
</div></div>new Swiper('.swCards',{effect:'cards',grabCursor: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.