Swiper
Swiper is simple banner slider with a lot of features.
Usage
Custom Controls
Custom Indicators
Props
Props | Type | Description | Default |
---|
autoPlay | boolean | Sets the autoplay mode for carousel | false |
current | number | Sets carousel start play index | 0 |
interval | number | Sets the interval duration for autoplay mode in miliseconds | 3000 |
indicator | React.ReactNode | Sets the indicator component | null |
children | React.React.Node | | null |
Sub Component
Name | Description |
---|
Swiper.Item | Swiper item |
Swiper.PrevButton | Swiper controls prev button |
Swiper.NextButton | Swiper controls next button |