Layout is used to create macro layouts that responds to different media sizes.
"leading" | "trailing"
| Specifies the inline alignment of the layout in its container. By default, it will be centered. |
| blockAlignment? | "center" | "trailing"
| Specifies the block alignment of the layout in its container. By default, it will be leading. |
| maxInlineSize? | number
| Default maximum inline size of the layout within its viewport. The size specified will constrain the space available for its sections and will be centered in the viewport unless specified otherwise with `inlineAlignment`.("auto" | "fill" | number)[]
| Default sizes for each section of the layout |
| media? | Media[]
| Sizes at different media |
### Media
| Name | Type | Description |
| --- | --- | --- |
| viewportSize | "small" | "medium" | "large"
| |
| maxInlineSize? | number
| Maximum inline size of the layout for this viewport. The size specified will constrain the space available for its sections and will be centered in the viewport unless specified otherwise with `inlineAlignment`.("auto" | "fill" | number)[]
| Sizes for each section of the layout for this media. If a `maxInlineSize` is specified, make sure you adapt your pixel values accordingly. |