Skip to main content

Carousel

UI Design

What is a Carousel

A carousel is a component that shows a set of items one or a few at a time in the same space. Users move through the items with arrows, dots or swipes, or the carousel rotates on its own.

Types of Carousels

  • Hero carousel: Large banners that rotate at the top of a page
  • Content carousel: A row of cards users scroll sideways, such as products or videos
  • Image gallery: Photos viewed one at a time

When to use a Carousel

Use carousels for browsable collections where users are happy to explore, such as product rows or photo galleries. Avoid hiding key messages in a hero carousel. Research shows people often scroll past them. Keep it to five or fewer frames.

Carousel best practices

Show clear navigation and how many items there are. Do not auto-rotate too fast, and always offer a pause control, which WCAG requires for moving content that lasts more than five seconds. Make sure keyboard and screen reader users can reach every slide.

Frequently asked questions

Do carousels work?

Often not for important content. NN/g found that people frequently scroll past carousels and miss what is in them. A static hero or content placed directly in the page is often a better choice.

How many slides should a carousel have?

NN/g recommends five or fewer frames, because users are unlikely to engage with more than that.

Should a carousel rotate automatically?

If it does, users must be able to pause or stop it. WCAG 2.2.2 requires a pause control for moving content that starts automatically and lasts more than five seconds.