Elements

Components

Container

The reading frame: content held to a measure and centered on the page. The sizes name typographic measures, not breakpoints — the page owns its edges, the container only owns how long a line of ink runs.

#Basic usage

container/basic Vue React

The page hands the container its width; the container hands back a line long enough to settle into and short enough to find its way back to.

container/sizes Vue React
narrow
readable
wide
full
container/unpadded Vue React

Ink straight to the edge of the measure.

#Props

#Container

PropTypeDefaultDescription
sizeString"readable"The typographic measure the ink runs to: narrow, readable, wide, or the full frame.
paddingBooleantrue—