Basic Example
Complete Example
Example Code
Properties
Identifies this as a column layout blockMust be
column_layoutThe predefined column width distributionAllowed values:
| Variant | Description | Column Widths |
|---|---|---|
1 | Single column | 100% |
2 | Two equal columns | 50% / 50% |
3 | Three equal columns | 33% / 33% / 33% |
4 | Four equal columns | 25% / 25% / 25% / 25% |
2-1 | Wide left, narrow right | 66% / 33% |
1-2 | Narrow left, wide right | 33% / 66% |
3-1 | Wide left, sidebar right | 75% / 25% |
1-3 | Sidebar left, wide right | 25% / 75% |
1-1-2 | Two narrow, one wide | 25% / 25% / 50% |
2-1-1 | One wide, two narrow | 50% / 25% / 25% |
Array of column objects. Each column contains an
elements array with the content blocks for that column.Spacing between columnsAllowed values:
none, x-small (4px), small (8px), medium (16px), large (24px), x-large (32px)Outer margin around the column layout
Inner padding of the column layout container
Vertical alignment of columnsAllowed values:
stretch, flex-start, center, flex-endMinimum height of the column layout (e.g.,
200px)Column Properties
Each column in thecolumns array supports:
Must be
columnArray of block elements contained within this column
Custom width override (e.g.,
300px, 40%)Minimum column width
Maximum column width
Inner padding for this column
Vertical alignment of content within this columnAllowed values:
top, center, bottomLayout Patterns
Sidebar Layout (75/25)
Three-Column Dashboard
Nesting Rules
Column layouts can be placed inside:- Root level
- Section
- Wizard Step
- Heading, Text, Alert
- Bullet List, Ordered List
- Actions, Form
- Nested Column Layout blocks
Usage Notes
- Changing the
variantautomatically adjusts the number of columns while preserving existing content - Columns are responsive and will stack vertically on small screens
- Use the
gapproperty to control spacing between columns - Individual columns can override their width using the
widthproperty
