Container
Container centers your content horizontally and sets a max-width. It is the most basic layout element.
Fluid (default)
A fluid container has no max-width by default — it stretches to fill its parent.
Max-Width
Set max-width to a breakpoint keyword or any CSS value.
Fixed
The fixed attribute locks the container to the current breakpoint's max-width rather than being fluid.
API
| Attribute | Type | Default | Description |
|---|---|---|---|
max-width | xs | sm | md | lg | xl | false | CSS value | — | Max-width constraint. Keyword maps to breakpoint px values. |
fixed | boolean | false | Locks width to the current breakpoint. |