Column
Column holds part of a page at a readable width, centred in the space around it.
Use a Column for a page's main content, such as a form, an article or a settings page. It is as wide as its pane until the pane is wider than its size, then it stops growing and sits in the middle. Inside it, it works like a Stack.
size sets the widest it gets: 560, 704, 896 or 1152px for 1 to 4. Size 2 is a comfortable reading width.
A Column is its own safe area. A page title, its text and the boxes below it all start on the column's edge, wherever the column sits in the pane.
Props
Generated from the types. It lists what this component DECLARES: a prop that arrives from a shared type or from the platform is real and is not repeated here.
| Prop | Type | What it does |
|---|---|---|
backdrop? | boolean | Marks an area where the components sit over other content, such as a toolbar over a canvas or a panel over an image. |
container? | boolean | Make this Box measurable. |
render? | RenderElement | Renders the box as a different element, so you don't add a wrapper. |
size? | "1" | "2" | "3" | "4" | The column's maximum width: 560, 704, 896 or 1152px for sizes 1 to 4. |
It also takes every prop of a <div>.