A horizontally scrolling set of interactive slides that transition between multiple pieces of content, either automatically or manually via navigation controls.
npm install compcrafter
import { Carousel } from "compcrafter";
const slides = [ "https://i.ibb.co/ncrXc2V/1.png", "https://i.ibb.co/B3s7v4h/2.png", "https://i.ibb.co/XXR8kzF/3.png", "https://i.ibb.co/yg7BSdM/4.png", ]; <Carousel size="size-80" autoSlide={true}> {slides.map((slide, index) => ( <img key={index} src={slide} alt={`slide-${index}`} /> ))} </Carousel>