<div class="carousel w-64 rounded-box">
    <div class="carousel-item w-full"> <img src="https://picsum.photos/id/400/256/400" class="w-full" alt="" /></div>
    <div class="carousel-item w-full"> <img src="https://picsum.photos/id/401/256/400" class="w-full" alt="" /></div>
    <div class="carousel-item w-full"> <img src="https://picsum.photos/id/402/256/400" class="w-full" alt="" /></div>
</div>
@jrmc.carousel({ class: 'w-64 rounded-box' })
  @jrmc.carousel.item({ class: 'w-full' })
    <img src="https://picsum.photos/id/400/256/400" class="w-full" alt="" />
  @end
  @jrmc.carousel.item({ class: 'w-full' })
    <img src="https://picsum.photos/id/401/256/400" class="w-full" alt="" />
  @end
  @jrmc.carousel.item({ class: 'w-full' })
    <img src="https://picsum.photos/id/402/256/400" class="w-full" alt="" />
  @end
@end

Carousel

Doc : daisyui carousel

Carousel show images or content in a scrollable area.

Class name Type
carousel Component Container element
carousel-item Component Carousel item
carousel-center Modifier Snap elements to center
carousel-end Modifier Snap elements to end
carousel-vertical Responsive Vertical carousel