An interactive component for displaying a collection of images with smooth transitions and navigation controls. The Carousel supports both line and thumbnail indicators for navigation between images.
The Carousel supports two types of indicators for navigation: line (default) and thumbnail.
You can hide the controls with the controls prop.
You can customize the aspect ratio of the carousel to fit your design needs.
You can enable auto play with the play prop. Each field has its own default: play={{ auto: true }} moves every 3000ms with a pause button. Autoplay holds while the pointer is over the carousel, stops when keyboard focus comes into it, and does not start for a visitor who asks for reduced motion; the button then offers Play. Name the button in another language with pauseLabel and playLabel, and the carousel itself with aria-label.
You can place custom content inside the slides as ReactNode.