Carousel Preview

A carousel is a dynamic component that lets users cycle through content, like featured articles, products, or services, without leaving the current page. It can be used on a page, within an app, in a drawer, or in a modal to display items such as people, cards, dates, and images. Unlike modals, carousel navigation is independent of the rest of the page, providing a self-contained experience.


Loading...

Resources


Behavior

Carousels have a few noteworthy behaviors: clickable actions and auto-play.

Clickable actions

If there are clickable actions within the content area, the user may opt into interacting with it.

Carousel with clickable actions

Auto-play

If the carousel is on auto-play, the user must always have the option of pausing the auto-play feature.

Carousel with auto-play control

The carousel supports two distinct navigation options: Steps and Image preview.

Steps

Setting the Nav Type to Steps displays the chevrons and step element.

Carousel with auto-play control

Setting the Nav Type to Image Gallery replaces the steps with image thumbnails.

Carousel with auto-play control

Layout

The carousel is a versatile component that can showcase a variety of elements, such as images, applications, or other content, providing designers with the flexibility to curate collections that offer users access to contextually relevant materials in unique combinations.

Card layout

Use card-style carousels to showcase individual items like products, team members, or testimonials. Each card can contain a mix of images, text, and buttons.

Carousel with card style

Web banner layout

The web banner is ideal for highlighting promotions, announcements, or featured content. These banners typically span the full width of the screen and rotate through images or messages.

Carousel with image gallery style

Use the image gallery layout for displaying a collection of images or videos. This type of carousel allows users to browse through visual content seamlessly.

Carousel with image gallery style

Accessibility

Carousels must reflow to accommodate the 400% zoom WCAG criteria. This means at when the window is 600 pixels wide and under the Carousel will snap to full screen. The content should be responsive and “shrink” to fit within the 600 to 320 window width. The image or video content keeps the aspect ration while flexing to window width.

Carousel accessibility at 400% zoom and small viewports