Carousel transition
Example
![cristina-gottardi-CSpjU6hYo_0-unsplash.com Cristina Gottardi](/images/carousel/cristina-gottardi-CSpjU6hYo_0-unsplash.webp)
Cristina Gottardi
![Image from cosmic-timetraveler-pYyOZ8q7AII-unsplash.com Cosmic timetraveler](/images/carousel/cosmic-timetraveler-pYyOZ8q7AII-unsplash.webp)
![Image from cristina-gottardi-CSpjU6hYo_0-unsplash.com Cristina Gottardi](/images/carousel/cristina-gottardi-CSpjU6hYo_0-unsplash.webp)
![Image from johannes-plenio-RwHv7LgeC7s-unsplash.com Johannes Plenio](/images/carousel/johannes-plenio-RwHv7LgeC7s-unsplash.webp)
![Image from jonatan-pie-3l3RwQdHRHg-unsplash.com Jonatan Pie](/images/carousel/jonatan-pie-3l3RwQdHRHg-unsplash.webp)
![Image from mark-harpur-K2s_YE031CA-unsplash Mark Harpur](/images/carousel/mark-harpur-K2s_YE031CA-unsplash.webp)
![Image from pietro-de-grandi-T7K4aEPoGGk-unsplash Pietro De Grandi](/images/carousel/pietro-de-grandi-T7K4aEPoGGk-unsplash.webp)
![Image from sergey-pesterev-tMvuB9se2uQ-unsplash Sergey Pesterev](/images/carousel/sergey-pesterev-tMvuB9se2uQ-unsplash.webp)
![Image from solotravelgoals-7kLufxYoqWk-unsplash Solo travel goals](/images/carousel/solotravelgoals-7kLufxYoqWk-unsplash.webp)
<script>
import { CarouselTransition } from 'flowbite-svelte';
</script>
<CarouselTransition {images} transitionType="slide" transitionParams="{{delay: 300, duration: 500}}"/>
Loop
Use `loop` prop to loop the carousel. Use `duration=number` to set the interval
![cristina-gottardi-CSpjU6hYo_0-unsplash.com Cristina Gottardi](/images/carousel/cristina-gottardi-CSpjU6hYo_0-unsplash.webp)
<script>
let showThumbs=false
let showCaptions=false
</script>
<CarouselTransition {images} loop transitionType="fade" transitionParams="{{ duration: 1000 }}" {showCaptions} {showThumbs} duration="5000" />
Fly example
![cristina-gottardi-CSpjU6hYo_0-unsplash.com Cristina Gottardi](/images/carousel/cristina-gottardi-CSpjU6hYo_0-unsplash.webp)
Cristina Gottardi
![Image from cosmic-timetraveler-pYyOZ8q7AII-unsplash.com Cosmic timetraveler](/images/carousel/cosmic-timetraveler-pYyOZ8q7AII-unsplash.webp)
![Image from cristina-gottardi-CSpjU6hYo_0-unsplash.com Cristina Gottardi](/images/carousel/cristina-gottardi-CSpjU6hYo_0-unsplash.webp)
![Image from johannes-plenio-RwHv7LgeC7s-unsplash.com Johannes Plenio](/images/carousel/johannes-plenio-RwHv7LgeC7s-unsplash.webp)
![Image from jonatan-pie-3l3RwQdHRHg-unsplash.com Jonatan Pie](/images/carousel/jonatan-pie-3l3RwQdHRHg-unsplash.webp)
![Image from mark-harpur-K2s_YE031CA-unsplash Mark Harpur](/images/carousel/mark-harpur-K2s_YE031CA-unsplash.webp)
![Image from pietro-de-grandi-T7K4aEPoGGk-unsplash Pietro De Grandi](/images/carousel/pietro-de-grandi-T7K4aEPoGGk-unsplash.webp)
![Image from sergey-pesterev-tMvuB9se2uQ-unsplash Sergey Pesterev](/images/carousel/sergey-pesterev-tMvuB9se2uQ-unsplash.webp)
![Image from solotravelgoals-7kLufxYoqWk-unsplash Solo travel goals](/images/carousel/solotravelgoals-7kLufxYoqWk-unsplash.webp)
<CarouselTransition {images} transitionType="fly" transitionParams="{{delay: 250, duration: 300, x: 100}}" />
Slide example
![cristina-gottardi-CSpjU6hYo_0-unsplash.com Cristina Gottardi](/images/carousel/cristina-gottardi-CSpjU6hYo_0-unsplash.webp)
Cristina Gottardi
![Image from cosmic-timetraveler-pYyOZ8q7AII-unsplash.com Cosmic timetraveler](/images/carousel/cosmic-timetraveler-pYyOZ8q7AII-unsplash.webp)
![Image from cristina-gottardi-CSpjU6hYo_0-unsplash.com Cristina Gottardi](/images/carousel/cristina-gottardi-CSpjU6hYo_0-unsplash.webp)
![Image from johannes-plenio-RwHv7LgeC7s-unsplash.com Johannes Plenio](/images/carousel/johannes-plenio-RwHv7LgeC7s-unsplash.webp)
![Image from jonatan-pie-3l3RwQdHRHg-unsplash.com Jonatan Pie](/images/carousel/jonatan-pie-3l3RwQdHRHg-unsplash.webp)
![Image from mark-harpur-K2s_YE031CA-unsplash Mark Harpur](/images/carousel/mark-harpur-K2s_YE031CA-unsplash.webp)
![Image from pietro-de-grandi-T7K4aEPoGGk-unsplash Pietro De Grandi](/images/carousel/pietro-de-grandi-T7K4aEPoGGk-unsplash.webp)
![Image from sergey-pesterev-tMvuB9se2uQ-unsplash Sergey Pesterev](/images/carousel/sergey-pesterev-tMvuB9se2uQ-unsplash.webp)
![Image from solotravelgoals-7kLufxYoqWk-unsplash Solo travel goals](/images/carousel/solotravelgoals-7kLufxYoqWk-unsplash.webp)
<script>
import { CarouselTransition } from 'flowbite-svelte';
import { bounceInOut } from 'svelte/easing';
</script>
<CarouselTransition {images} transitionType="slide" transitionParams="{{duration: 1500, easing: bounceInOut}}"/>
Custom slide controllers
You can add custom slide controllers using Svelte-Heros icons. Change the size using the `iconSize` prop and style with the `iconClass` prop. Please read Carousel default for more details.