Carousel - Keep React

A Carousel component is a user interface element commonly found in web and mobile applications that allows you to display a series of images, content, or media items in a rotating manner. It is often used to showcase multiple items in a limited space, allowing users to view different items by sliding or swiping through them.

Table of Contents#

Default Carousel component allows you to display a series of images, content, or media items in a rotating manner. It is often used to showcase multiple items in a limited space, allowing users to view different items by sliding or swiping through them.

1

2

3

4

5

Carousel with loop option for slide items.

1

2

3

4

5

SlidesToScroll#

The number of slides to scroll at a time.

1

2

3

4

5

Auto Play Plugin#

Auto play carousel slides.

1

2

3

4

5

ClassNames Plugin#

Style slide items with a custom class.

Carousel Item
Carousel Item
Carousel Item
Carousel Item
Carousel Item

API Reference#

Explore the available props for the carousel component

PropertyDescriptionTypeDefault
optionsEmbla carousel options.EmblaOptionsType{}
pluginsEmbla carousel plugins for adding more variants.EmblaPluginType[]None
carouselViewportClassesCustomize the viewport of the carousel containerString''

Reference#

To learn more about the Carousel, please see the documentation of Carousel