Carousel
A Carousel is commonly used to browse images, it can also be used to browse any kind of content like text, video, or charts. It allows you to focus on a particular content while having a notion of how many you have to explore.
Landscapes
Thumbnails
To display thumbnails below the carousel, you should pass a renderThumbnail
function to the HvCarousel
component and the hideThumbnail
prop should be set to false
(its default value).
The thumbnailsPosition
prop allows you to set the position of the thumbnails, above or below (the default) the images.
Embedded
You can use the HvCarousel
component inside other components, like a card. Use the xs
prop to make the carousel embeddable.
Carousel options
You can control the HvCarousel
’s configuration via the carouselOptions
prop. See options documentation.
Landscapes
Custom content
A Carousel supports any kind of content, not just images.