Skip to main content

Initial Page

The carousel can start on any index within bounds of its length. Anything out of bounds will default back to 0 for its index. This list is 0 indexed.

Prop NameTypeDefault Value
initialPagenumber0

Example

Code

<Carousel initialPage={1}>
<img src="/open-source/nuka-carousel/img/pexels-01.jpg" />
<img src="/open-source/nuka-carousel/img/pexels-02.jpg" />
<img src="/open-source/nuka-carousel/img/pexels-03.jpg" />
</Carousel>