Early access. Read the blog post

Container

The Container component wraps content layout in a defined set of widths.

Properties  

as?: React.ElementType | keyof JSX.IntrinsicElements
display?: 'none' | 'block' | 'grid' | 'flex' | 'inline-block' | Array<'none' | 'block' | 'grid' | 'flex' | 'inline-block'>
height?: 'stretch' | 'fill' | Array<'stretch' | 'fill'>
overflow?: 'visible' | 'hidden' | 'auto' | Array<'visible' | 'hidden' | 'auto'>
sizing?: 'content' | 'border'
width?: number | number[]
Updated Dec 22, 2020 @ 07:23
On this page
By
the platform for structured content