Skip to content

Carousel

The carousel displays a set of related content in a horizontal row, allowing users to cycle through them automatically or with controls.

Usage

Use a carousel when users need to browse a small set of related items within limited space, and each item follows a consistent structure (e.g., same card layout, similar content density).

Carousel

When to use

  • To surface multiple related items.
  • When content can be browsed one page at a time without losing context.
  • When space is limited and showing all items at once would overwhelm the layout.
  • In unattended display contexts (monitors, presentation screens) using slideshow mode with auto-play.

Best practices

  • Keep slides consistent in height and content structure across pages.
  • Always show the auto-play control so users can pause the carousel at any time.
  • Avoid mixing slides with very different content types in the same carousel.
  • Use the carousel for content that is genuinely browsable, where users benefit from seeing one page at a time.
  • The pagination displays a minimum of 2 and a maximum of 7 dots at a time, regardless of the total number of slides.

Except where otherwise noted, content on this site is licensed under MIT License.