Carousel

  1. Home

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

-