Mark · Components

Card carousel

A full-height band of cards you swipe through, where the card nearest the centre is the one in focus — its neighbours sit back, smaller and dimmer. The track is endless by default: past the last card comes the first again. It is the same scroll-snap mechanism as the rail, so touch, keyboard and no-JS all still work; the focus is a scroll-driven animation layered over it, and browsers without that support simply get the rail.

A full-height band, so the specimens below are cramped by the documentation column — use Full page preview on each to see it own the viewport, which is the whole point of it.


A full-height band; the centre card holds focus while its neighbours sit back. An introduction, when a band wants one, is a Section header composed above it.

Full page preview ↗

The same cards wearing the dark surface — the band a page drops in between two lighter sections.

Fields (10)
FieldTypeNotes
surface text empty (page), muted, subtle, primary, or dark
label text Names the scrollable region
arrows boolean Previous/next
loop boolean The track has no ends — past the last card comes the first again
full_height boolean The band fills the viewport when you scroll to it
id text Anchor id — also needed when a page carries more than one
shape_bottom group Cuts the band's BOTTOM edge. The shape is painted in this band's own ground and hangs over the band below, so the band below declares nothing.
shape_top group The same, on the band's TOP edge — it hangs upward over the band above.
class_names text
items repeater
On this page