Layout / The visual dictionary

Container.

A bounded region that groups content and controls its available width.

Also calledwrappercontent container
01

See it in context

UI illustration
max-width
Aligned content

A bounded region that groups content and controls its available width. Set sensible width and internal spacing, and let the container resize with its parent.

When to use it

Use it to establish consistent content edges across sections.

Know the difference

A container groups children; a card adds a visible surface representing a distinct item.

WebiOSiPadOSAndroidmacOSWindowsLinuxwatchOSWear OStvOSAndroid TVvisionOS

Web · iOS · iPadOS · Android · macOS · Windows · Linux · watchOS · Wear OS · tvOS · Android TV · visionOS

Web max-width containers and native layout guides serve similar purposes but use different measurement systems.

Primary documentation for the pattern and its platform conventions.