
Anatomy
The Layout consists of two primary elements that work together to define page structure and columns.
- Gutter
- Column
Options
The Layout supports responsive column configurations, width options, and gutter variants to accommodate various page structure scenarios.Columns per breakpoint
| Breakpoint | # of columns |
|---|---|
SM >=640px | 4 |
MD >=768px | 6 |
LG >=1024px | 12 |
XL >=1280px | 12 |
XXL >=1536px | 12 |
Width
There are two width options available: Default and Fluid.Default
By default, Layout has a max width of 1280px.Fluid
When fluid is true, Layout will fill the available area.Variants
There are three variants of Layout: Default, Wide, and Narrow. Each variant has different gutter values. Gutters are the spacing between columns.Default
| Breakpoint | Gutter |
|---|---|
SM >=640px | $size-4 / 1rem / 16px |
MD >=768px | $size-6 / 1.5rem / 24px |
LG >=1024px | $size-6 / 1.5rem / 24px |
XL >=1280px | $size-6 / 1.5rem / 24px |
XXL >=1536px | $size-6 / 1.5rem / 24px |
Wide
| Breakpoint | Gutter |
|---|---|
SM >=640px | $size-6 / 1.5rem / 24px |
MD >=768px | $size-8 / 2rem / 32px |
LG >=1024px | $size-10 / 2.5rem / 40px |
XL >=1280px | $size-10 / 2.5rem / 40px |
XXL >=1536px | $size-10 / 2.5rem / 40px |
Narrow
| Breakpoint | Gutter |
|---|---|
SM >=640px | $size-2 / 0.5rem / 8px |
MD >=768px | $size-4 / 1rem / 16px |
LG >=1024px | $size-4 / 1rem / 16px |
XL >=1280px | $size-4 / 1rem / 16px |
XXL >=1536px | $size-4 / 1rem / 16px |