Carousels are comprised of a rotating set of slides, primarily used to highlight content that is prominent but not essential to completing a task. They usually contain between two to five slides, slide number indicator, and navigational arrows that allow the customer to rotate the slide manually. Carousels may also be known as a slider, a slideshow, or a gallery.
Manual Control
Auto-rotate
| Variant | Description |
|---|---|
| Manual Control | Manual control carousels allow the customer to discover the content of a carousel by using the controls provided. Manual control may have full width slides or show more than one slide at a time as cards. Use this carousel when some content is more important or prominent than others. |
| Auto-rotate | Auto-rotate carousels automatically display slides on rotation, based on a specified delay. Users can manually rotate and pause slides if needed. Use when the rotating slides are equal in importance or prominence. |
When choosing content for your slides consider:
Slides may be both full width of the carousel or contained in cards. When using cards you may choose standard or actionable variations of cards.
Full width carousel.
Or contained with cards.
Slide 1 of 3
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
There are two types of slide picker controls:
1. Off slide (Recommended default)
2. On slide
Off Slide (default)
On Slide
You can choose from two styles to indicate slide progression:
1. Text-based: Example: Slide 1 of 5 or Image 1 of 5
2. Dot-based:
Tip: Slide naming (For example, “Image 1 of 5”) it may be change or be removed depending on the context. For example ‘image 1 of 5’ or ‘1 of 5’.
Off Slide (default)
Slide 1 of 3
On Slide
When using on slide you may choose between light or dark mode depending on your images.
Choose between high or low contrast of the controls and image. Note: that text must always have a background for accessibility.
Light Mode
Slide 1 of 3
Dark Mode
Slide 1 of 3
Don’t remove backgrounds
Carousel may be used as a stand alone component or used inside cards. Note that you shouldn’t put a carousel inside a card that is already in a carousel.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Slide 1 of 3
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
If content is nested by using a carousel, the page may appear more organized and structured. However, the complexity of the page and how to use it increases. This is doubled if you nest carousel in a carousel slide.
Nesting may cause:
Carousel works at all break points. Follow the carousel slide content guidelines and grid guidelines to make sure your slide content reflows.
Connect with the DLS Team on Slack or by email.
Check out additional resources.