Skip navigation

Components / Artwork & collections

Track

Manual horizontal exploration with native scrolling and optional previous/next controls.

div.track > cards or other items
Try it

A clear description of this item.

Mountains and sun

A clear description of this item.

Mountains and sun

A clear description of this item.

Mountains and sun

A clear description of this item.

Mountains and sun

A clear description of this item.

Mountains and sun
<div class="track-header block"><h2 class="like-h3">Explore the collection.</h2><div class="track-controls" data-track="example-track" hidden><button type="button" data-direction="-1" aria-label="Previous item">←</button><button type="button" data-direction="1" aria-label="Next item">→</button></div></div><div class="track is-medium" id="example-track" tabindex="0" role="region" aria-label="Example collection"><article class="card"><div class="content"><h3 class="like-h4">Item 1</h3><p>A clear description of this item.</p></div><figure class="figure is-fill"><img src="/assets/images/pattern-example.svg" width="800" height="500" alt="Mountains and sun"></figure></article><article class="card"><div class="content"><h3 class="like-h4">Item 2</h3><p>A clear description of this item.</p></div><figure class="figure is-fill"><img src="/assets/images/pattern-example.svg" width="800" height="500" alt="Mountains and sun"></figure></article><article class="card"><div class="content"><h3 class="like-h4">Item 3</h3><p>A clear description of this item.</p></div><figure class="figure is-fill"><img src="/assets/images/pattern-example.svg" width="800" height="500" alt="Mountains and sun"></figure></article><article class="card"><div class="content"><h3 class="like-h4">Item 4</h3><p>A clear description of this item.</p></div><figure class="figure is-fill"><img src="/assets/images/pattern-example.svg" width="800" height="500" alt="Mountains and sun"></figure></article><article class="card"><div class="content"><h3 class="like-h4">Item 5</h3><p>A clear description of this item.</p></div><figure class="figure is-fill"><img src="/assets/images/pattern-example.svg" width="800" height="500" alt="Mountains and sun"></figure></article></div>
Class or attributeWhat it does
is-small / is-medium / is-large260 / 360 / 520px items; medium is default.
child.is-small/medium/largeMix named widths within one Track.
track-controls + data-trackOptional JS buttons target real item starts.