Skip to content
Amplify from Studio 24
  • Get started
  • Fundamentals
  • Layout helpers
  • Core components
  • Advanced components
  • Design handover & standards
  • Accessible auto-complete
  • Cards
  • Carousels
  • Collapsible containers
  • Disclosure widget
  • Navigation
  • Sortable tables
  • Tabbed sections

Carousel

We use the Splide NPM package for building accessible carousels.

It is strongly recommended to follow the getting started instructions to make sure you have the correct markup for your implementation, as it can vary depending on the nature of the carousel.

In keeping with Amplify's principle of favouring data-attributes over classnames for targeting JS, be sure to include the following attribute on the carousel: data-component="carousel".

We use the core Splide stylesheet so that we can write custom styles while minimizing the need for overrides. A number of JS customisation options are also available.

Simple image carousel

  • A brown tabby cat with green eyes faces the camera
  • A second copy of the tabby cat from slide 1
  • A third copy of the tabby cat from slide 1
© Studio 24