lowest, outlined
low
high
highest
A row that stacks below 600px
Its middle item is hidden from 840px.
Widen the window past 840px and this goes.
Widths are M3's breakpoints and nothing else: compact below 600px, then medium 600, expanded 840, large 1200
and extra-large 1600. Scripts read the same numbers from resources/js/breakpoints.js.
Compact
below 600px
Medium
600–839px
Expanded
840–1199px
Large
1200–1599px
Extra-large
from 1600px
<x-list-detail>, or <x-supporting-pane> at 360px
<x-scaffold> does all of this: resize this showcase and watch the bar, the rail and the
content margin (--material-margin) change at 600, 840 and 1200px. A visitor who has chosen a rail
width keeps it; until then the rail follows the class.
M3 describes a layout as a scaffold of bars and rails around panes, and names three canonical layouts. These are
those words as components, each taking as, hide-below and hide-from, and
only the spacing tokens for a gap or padding:
<x-scaffold> — the bars, the rail and the FAB around the page (this showcase is one).<x-pane> — a content region with M3's margins and its own app bar.<x-list-detail> — a list and the detail of its selection: one pane below 840px, two from it.<x-supporting-pane> — a focus pane and a pane beside it from 840px, below it or a bottom sheet before.<x-feed> — cards in columns that multiply as the room grows, one column below 600px.<x-surface> — a tonal region: a surface role, padding, a corner and an outline.<x-stack>, <x-row> and <x-grid> — arrangement inside a pane.