Skip to the page content

Slideshow

Slides that swipe, step with arrows and dots, or move on by themselves.

5 slideshow types

Photo gallery

Pictures that fill the frame, with arrows at the sides, a dot per photo and the count in a corner. Swipe on touch, or use the arrow keys.

PhotosBasalt component
Sculpted Shoulder Blazer
Chalk-Stripe Suit
Draped Column Gown
Cat-Eye Sunglasses
Show code
							<div class="basalt-slides basalt-slides-on-photo" data-basalt-slides
							     role="region" aria-roledescription="carousel" aria-label="Autumn edit">
							  <div class="basalt-slides-track" tabindex="0">
							    <div class="basalt-slides-item"><img src="blazer.jpg" alt="Sculpted Shoulder Blazer"></div>
							    <div class="basalt-slides-item"><img src="suit.jpg" alt="Chalk-Stripe Suit"></div>
							  </div>
							  <button class="basalt-slides-arrow basalt-slides-prev" type="button" aria-label="Previous" data-basalt-slides-prev>
							    <i class="bi bi-chevron-left" aria-hidden="true"></i>
							  </button>
							  <button class="basalt-slides-arrow basalt-slides-next" type="button" aria-label="Next" data-basalt-slides-next>
							    <i class="bi bi-chevron-right" aria-hidden="true"></i>
							  </button>
							  <span class="basalt-slides-count" data-basalt-slides-count></span>
							  <div class="basalt-slides-dots" data-basalt-slides-dots></div>
							</div>

Gallery with thumbnails

A photo above its thumbnails; the thumbnail of the photo showing is outlined.

ThumbnailsBasalt component
Made-to-Measure Tailoring
Sculpted Shoulder Blazer
Cat-Eye Sunglasses
Tiered Organza Dress
Show code
							<div class="basalt-slides" data-basalt-slides role="region" aria-roledescription="carousel" aria-label="Details">
							  <div class="basalt-slides-track" tabindex="0">
							    <div class="basalt-slides-item"><img src="coat.jpg" alt="Made-to-Measure Tailoring"></div>
							    <div class="basalt-slides-item"><img src="cuff.jpg" alt="The cuff"></div>
							  </div>
							  <button type="button" data-basalt-slides-go="0" aria-label="Show the coat"><img src="coat-small.jpg" alt=""></button>
							  <button type="button" data-basalt-slides-go="1" aria-label="Show the cuff"><img src="cuff-small.jpg" alt=""></button>
							</div>
							<!-- Any [data-basalt-slides-go] inside jumps to its slide and gets
							     aria-current="true" while that slide shows. -->

Banner that moves on

Store news that moves on every six seconds, with a bar that fills while it waits. Pointing at it or focusing it holds it still.

BannerBasalt component

Silk season ends Sunday

Twenty percent off every silk piece until the rails turn to wool.

Shop silk

The sculpted blazer is back

The tailoring that sold out in September is restocked in every size.

See tailoring

Two years of free repairs

A loose button or a pulled thread, sent back and mended at no cost.

How repairs work
Show code
							<div class="basalt-slides basalt-slides-on-photo" data-basalt-slides data-basalt-slides-auto="6000"
							     role="region" aria-roledescription="carousel" aria-label="Store news">
							  <div class="basalt-slides-track" tabindex="0">
							    <div class="basalt-slides-item">…one banner…</div>
							    <div class="basalt-slides-item">…the next…</div>
							  </div>
							  <div class="basalt-slides-dots" data-basalt-slides-dots></div>
							  <div class="basalt-slides-progress" data-basalt-slides-progress aria-hidden="true"><span></span></div>
							</div>
							<!-- data-basalt-slides-auto is the wait in milliseconds. It pauses while
							     pointed at or focused, and stays still for reduced motion. -->

Customer quotes

One quote at a time, moving on by itself every eight seconds.

QuotesBasalt component
The chalk-stripe suit is the finest thing I own, and the aftercare card in the box made me trust it.
Cheryl SchultzBought in Topeka
I sent a blazer back for a loose button and it came home repaired within the week.
Faith van der LindenCustomer since 2023
The Aftercare Plan is the one subscription nobody in our house wants to cancel.
Gabriela McIntyreAftercare member
Show code
							<div class="basalt-slides" data-basalt-slides data-basalt-slides-auto="8000"
							     role="region" aria-roledescription="carousel" aria-label="What customers say">
							  <div class="basalt-slides-track" tabindex="0">
							    <div class="basalt-slides-item">
							      <figure><blockquote>…</blockquote><figcaption>…</figcaption></figure>
							    </div>
							  </div>
							  <div class="basalt-slides-dots" data-basalt-slides-dots></div>
							</div>

Row of cards

Three products at a time, two on a tablet and one on a phone, with the arrows beside the row title.

CardsBasalt component
Show code
							<div class="basalt-slides" data-basalt-slides
							     role="region" aria-roledescription="carousel" aria-label="New this week">
							  <div class="basalt-slides-track" tabindex="0">
							    <div class="basalt-slides-item">…a product card…</div>
							    <!-- as many as you like -->
							  </div>
							  <button class="basalt-slides-arrow basalt-slides-prev" type="button" aria-label="Previous" data-basalt-slides-prev>…</button>
							  <button class="basalt-slides-arrow basalt-slides-next" type="button" aria-label="Next" data-basalt-slides-next>…</button>
							</div>
							<!-- --basalt-slides-per sets how many show at once; lower it in a media query. -->