Carousels should strive to give all the navigational power to the user. Carousels can auto-scroll, and if they do, once a user clicks an arrow, the auto-scroll should cease.
Our navigation at the bottom should be clear and easy to see, communicating where in the deck the user is located. Additionally, the navigation is clickable, allowing the user another way to move the carousel.
Building a new carousel?
We use a third party library called Slick Slider for all of our carousels. This library handles large, homepage-style sliders, and multi product carousel images too. It is very flexible and easily customizable. The code is not included by default in the library so you'll need to include it manually on your pages.
To include Slick Slider in your project, reference it like this:
Large Example
Product Example
For best results, make sure to have a wrapping div around your content to prevent any layout issues. This example has the custom class `dark-arrows` to make the arrows show up when there isn't a background.
The below example also includes responsive properties so that the products arent squished on mobile.
Cool New XC21 Galaxy 1
Cat #: 50W34
Model/Part #: XC21-024-230
Cool New XC21 Galaxy 2
Cat #: 50W34
Model/Part #: XC21-024-230
Cool New XC21 Galaxy 3
Cat #: 50W34
Model/Part #: XC21-024-230
Cool New XC21 Galaxy 4
Cat #: 50W34
Model/Part #: XC21-024-230
Cool New XC21 Galaxy 5
Cat #: 50W34
Model/Part #: XC21-024-230
Cool New XC21 Galaxy 6
Cat #: 50W34
Model/Part #: XC21-024-230
Full Product Carousel Code
See all of the product carousel code here
The formatting is from a LiquidJS template so its not very pretty. Your IDE should correct the format when you copy it in.