Sleeve

The content container, and the last link in the chain. A Stack arranges regions, a Slot is one region, and a Sleeve arranges the content inside one — on --space-component-*, the only primitive that does.

Each example measures itself, so its gutters are to scale rather than to the page's. The arrangements are exact.

Show guides
PropDescriptionDefaultControl
gapspace between children, a fixed --space-component-* step. Default 3 (12px)none12345683
  • none
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 8
justifywhere children sit across the Sleeve. Anything but stretch makes each child as wide as its contentstretchstartcenterendstretch
  • stretch
  • start
  • center
  • end
alignContentwhere the content sits when the Sleeve is taller than it. Default startstartcenterendstretchstart
  • start
  • center
  • end
  • stretch