TailwindAdmin can be used in personal & commercial projects.

Learn more

NiceAdmin can be used in personal & commercial projects.

Learn more

Ready-to-Use Components Powered by Flowbite, ShadCN & Headless UI

Component Library

Browse and explore components

Carousel

A Carousel is a UI component used to cycle through a series of images or content in a sliding manner.

Default Carousel

...
...
...
...
...

Static Carousel

...
...
...
...
...

Sliding Interval

...
...
...
...
...

Custom controls

...
...
...
...
...

Indicators

...
...
...
...
...
...
...
...
...
...

Pause On Hover

...
...
...
...
...

Slider Content

Slide 1
Slide 2
Slide 3

Handle Event

Slide 1
Slide 2
Slide 3
API ( Carousel )
PropDescriptionTypeDefault

slide

Enable or disable sliding transitions.

boolean

true

indicators

Show navigation indicators below the carousel.

boolean

true

pauseOnHover

Pause the carousel on mouse hover (desktop) or touch and hold (mobile).

boolean

false

slideInterval

Time interval between slides in milliseconds.

number

5000

leftControl

Custom left navigation control.

'<' | 'left'

-

rightControl

Custom right navigation control.

'>' | 'right'

-

onSlideChange

Callback function when the slide changes.

'(index) => console.log("onSlideChange()", index)'

-

activeIndex

Manually control the active slide index.

number

-