
Overview
A flexible container component that provides customizable flex layout options for child blocks. Enables responsive alignment, spacing, and visibility controls through the theme editor. Supports both horizontal and vertical flex directions with comprehensive alignment options.
Common use cases
- Create flexible row or column layouts for content organization
- Use horizontal direction for side-by-side content arrangements
- Use vertical direction for stacked content layouts
- Configure gap sizes to control spacing between flex items
- Adjust alignment settings to position content within the flex container
Compatible blocks
The following blocks can be nested within this block:
Block settings
General
| Setting | Description | Options |
|---|---|---|
| Show advanced settings | Reveals visibility, load animation, and scroll animation | Checkbox (default: false) |
Spacing
| Setting | Description | Options |
|---|---|---|
| Top spacing | Padding space at the top of the container | 0 - 300 px (default: 0) |
| Bottom spacing | Padding space at the bottom of the container | 0 - 300 px (default: 0) |
| Enable horizontal padding | Adds horizontal padding around the container | Checkbox (default: false) |
| Gap size | Controls spacing between flex items | • None |
Color
| Setting | Description | Options |
|---|---|---|
| Color scheme | Controls the background and text colors | • Body |
| Color border | Controls the border color | • Body |
Style
| Setting | Description | Options |
|---|---|---|
| Border position | Controls where borders appear | • None (default) |
Layout
| Setting | Description | Options |
|---|---|---|
| Direction | Controls the flex direction | • Horizontal (default) |
| Horizontal alignment (row) | Controls horizontal alignment when direction is horizontal | • Left (default) |
| Vertical alignment (row) | Controls vertical alignment when direction is horizontal | • Start |
| Vertical alignment (column) | Controls vertical alignment when direction is vertical | • Start (default) |
| Horizontal alignment (column) | Controls horizontal alignment when direction is vertical | • Left |
| Enable block wrap | Allow flex items to wrap to the next line | Checkbox (default: true) |
Display
| Setting | Description | Options |
|---|---|---|
| Visibility | Controls when the block is visible | • All (default) Visible when Show advanced settings is on |
| Load animation | Animation when the block first loads | • None (default) Visible when Show advanced settings is on and Scroll animation is None |
| Scroll animation | Adds scroll-triggered animations | • None (default) Visible when Show advanced settings is on and Load animation is None |