Galeria responsiva com autoplay
<x-ui.carousel
label="Galeria"
:per-view="['base' => 2, 'md' => 3, 'lg' => 4]"
:gap="['base' => 12, 'sm' => 20, 'md' => 24, 'lg' => 32]"
autoplay="1800"
pagination
>
@foreach (range(1, 8) as $item)
<x-ui.carousel-slide>
<div class="flex h-40 items-center justify-center rounded-lg bg-neutral-100 text-neutral-600">
Item {{ $item }}
</div>
</x-ui.carousel-slide>
@endforeach
</x-ui.carousel>