Fancy carousel
A stylized slideshow that cycles through images upon click.
Fancy carousel orc-c-carousel orc-c-carousel--fancy
A stylized slideshow that cycles through images upon click.
Full height fancy carousel orc-c-carousel orc-c-carousel--fancy orc-c-carousel--full-height
Expands the content of the carousel section to fit the height of the viewport.
Tinted fancy carousel orc-c-carousel orc-c-carousel--fancy orc-c-carousel--tint
Applies a slight tint at the edges of the images in the carousel.
-
<!--Pattern HTML--> <section class="orc-c-carousel orc-c-carousel--fancy orc-js-hero-section" data-fancy-carousel data-fancy-carousel-zoomblur='true' data-fancy-carousel-ripple='true' data-fancy-carousel-next-prev-nav-selector='.orc-c-carousel__buttons' data-fancy-carousel-counter-selector='.orc-c-carousel__fraction'> <div class="orc-c-carousel__inner orc-js-fancy-carousel-inner" tabindex="0"> <div class="orc-c-carousel__mask"></div> <ol class="orc-c-carousel__list" data-fancy-carousel-images> <li class="orc-c-carousel__item"> <img data-carousel-src="https://images.contentful.com/sahy2rpqbnsp/2D35olIu8wOC66E8wE8m2g/24e0b13cfc24bbb682f679a475df6289/squarespace?w=640&h=360&fm=jpg&q=80&fit=fill" alt="" class="orc-c-carousel__image orc-u-is-vishidden" /> <div class="orc-c-carousel__content"> </div> <!--end orc-c-carousel__list__item__content--> </li> <!--end orc-c-carousel__list__item--> <li class="orc-c-carousel__item"> <img data-carousel-src="../../images/sample-mischief.jpg" alt="" class="orc-c-carousel__image orc-u-is-vishidden" /> <div class="orc-c-carousel__content"> </div> <!--end orc-c-carousel__list__item__content--> </li> <!--end orc-c-carousel__list__item--> <li class="orc-c-carousel__item"> <img data-carousel-src="../../images/sample-rise-and-dine.jpg" alt="" class="orc-c-carousel__image orc-u-is-vishidden" /> <div class="orc-c-carousel__content"> </div> <!--end orc-c-carousel__list__item__content--> </li> <!--end orc-c-carousel__list__item--> </ol> <!--end orc-c-carousel__list--> </div> <!--end orc-c-carousel__inner--> <div class="orc-c-carousel__controls"> <div class="orc-c-carousel__fraction"> </div> <!--end orc-c-carousel__fraction--> <div class="orc-c-carousel__buttons"> </div> <!--end orc-c-carousel__buttons--> </div> <!--end orc-c-carousel__controls--> <div class="orc-c-page-header orc-c-page-header--align-left orc-c-page-header--white"> <h1 class="orc-c-page-header__title">A Luxury Resort Experience <em>on</em> The Vegas Strip</h1> </div> <!-- end orc-c-page-header --> </section> <!--end orc-c-carousel-->
-
<!--Pattern HTML--> <section class="orc-c-carousel orc-c-carousel--fancy orc-c-carousel--full-height orc-js-hero-section" data-fancy-carousel data-fancy-carousel-zoomblur='true' data-fancy-carousel-ripple='true' data-fancy-carousel-next-prev-nav-selector='.orc-c-carousel__buttons' data-fancy-carousel-counter-selector='.orc-c-carousel__fraction'> <div class="orc-c-carousel__inner orc-js-fancy-carousel-inner" tabindex="0"> <div class="orc-c-carousel__mask"></div> <ol class="orc-c-carousel__list" data-fancy-carousel-images> <li class="orc-c-carousel__item"> <img data-carousel-src="https://images.contentful.com/sahy2rpqbnsp/2D35olIu8wOC66E8wE8m2g/24e0b13cfc24bbb682f679a475df6289/squarespace?w=640&h=360&fm=jpg&q=80&fit=fill" alt="" class="orc-c-carousel__image orc-u-is-vishidden" /> <div class="orc-c-carousel__content"> </div> <!--end orc-c-carousel__list__item__content--> </li> <!--end orc-c-carousel__list__item--> <li class="orc-c-carousel__item"> <img data-carousel-src="../../images/sample-mischief.jpg" alt="" class="orc-c-carousel__image orc-u-is-vishidden" /> <div class="orc-c-carousel__content"> </div> <!--end orc-c-carousel__list__item__content--> </li> <!--end orc-c-carousel__list__item--> <li class="orc-c-carousel__item"> <img data-carousel-src="../../images/sample-rise-and-dine.jpg" alt="" class="orc-c-carousel__image orc-u-is-vishidden" /> <div class="orc-c-carousel__content"> </div> <!--end orc-c-carousel__list__item__content--> </li> <!--end orc-c-carousel__list__item--> </ol> <!--end orc-c-carousel__list--> </div> <!--end orc-c-carousel__inner--> <div class="orc-c-carousel__controls"> <div class="orc-c-carousel__fraction"> </div> <!--end orc-c-carousel__fraction--> <div class="orc-c-carousel__buttons"> </div> <!--end orc-c-carousel__buttons--> </div> <!--end orc-c-carousel__controls--> <div class="orc-c-page-header orc-c-page-header--align-left orc-c-page-header--white"> <h1 class="orc-c-page-header__title">A Luxury Resort Experience <em>on</em> The Vegas Strip</h1> </div> <!-- end orc-c-page-header --> </section> <!--end orc-c-carousel-->
-
<!--Pattern HTML--> <section class="orc-c-carousel orc-c-carousel--fancy orc-c-carousel--tint orc-js-hero-section" data-fancy-carousel data-fancy-carousel-zoomblur='true' data-fancy-carousel-ripple='true' data-fancy-carousel-next-prev-nav-selector='.orc-c-carousel__buttons' data-fancy-carousel-counter-selector='.orc-c-carousel__fraction'> <div class="orc-c-carousel__inner orc-js-fancy-carousel-inner" tabindex="0"> <div class="orc-c-carousel__mask"></div> <ol class="orc-c-carousel__list" data-fancy-carousel-images> <li class="orc-c-carousel__item"> <img data-carousel-src="https://images.contentful.com/sahy2rpqbnsp/2D35olIu8wOC66E8wE8m2g/24e0b13cfc24bbb682f679a475df6289/squarespace?w=640&h=360&fm=jpg&q=80&fit=fill" alt="" class="orc-c-carousel__image orc-u-is-vishidden" /> <div class="orc-c-carousel__content"> </div> <!--end orc-c-carousel__list__item__content--> </li> <!--end orc-c-carousel__list__item--> <li class="orc-c-carousel__item"> <img data-carousel-src="../../images/sample-mischief.jpg" alt="" class="orc-c-carousel__image orc-u-is-vishidden" /> <div class="orc-c-carousel__content"> </div> <!--end orc-c-carousel__list__item__content--> </li> <!--end orc-c-carousel__list__item--> <li class="orc-c-carousel__item"> <img data-carousel-src="../../images/sample-rise-and-dine.jpg" alt="" class="orc-c-carousel__image orc-u-is-vishidden" /> <div class="orc-c-carousel__content"> </div> <!--end orc-c-carousel__list__item__content--> </li> <!--end orc-c-carousel__list__item--> </ol> <!--end orc-c-carousel__list--> </div> <!--end orc-c-carousel__inner--> <div class="orc-c-carousel__controls"> <div class="orc-c-carousel__fraction"> </div> <!--end orc-c-carousel__fraction--> <div class="orc-c-carousel__buttons"> </div> <!--end orc-c-carousel__buttons--> </div> <!--end orc-c-carousel__controls--> <div class="orc-c-page-header orc-c-page-header--align-left orc-c-page-header--white"> <h1 class="orc-c-page-header__title">A Luxury Resort Experience <em>on</em> The Vegas Strip</h1> </div> <!-- end orc-c-page-header --> </section> <!--end orc-c-carousel-->
Usage
When to use
When multiple images are available to evoke an experience. Fancy carousels don’t link elsewhere; they’re simply to be looked at and enjoyed.
When to consider an alternative
If only one visual asset is available, or if the content needs to link to a feature, consider a hero or video hero instead.
Class Name | Description |
---|---|
Required
|
Apply to the fancy carousel’s block’s containing HTML element. This class is set to |
Required
|
Add to |
Modifier
|
Add to |
Modifier
|
Add to |
Required
|
Add to inner |
JS
|
Add to |
|
Added as an empty |
Required
|
Added to the ordered list of images. This is used with the data attribute |
Required
|
Added to the list items within the `orc-c-carousel__list. |
|
Added to the image within each |
|
Added to the |
|
Added to the container of the carousel counter. |
|
Added to the |
|
Added to the |
|
Added to the |
|
Added to the |
|
Added to the previous carousel item button. |
JS
|
Added for JS to target both previous/next buttons for carousel functionality. |
JS
|
Added for JS to target previous button for carousel functionality. |
|
Added to the next carousel item button. |
JS
|
Added for JS to target next button for carousel functionality. |
|
Optional page header if displayed within the carousel. See page header for class explanations for this component. |