
PageBuilder
Visual section builder for MODX 3: draft and publish without overwriting resource content
- MODX 3
- PHP 8.2
- Vue 3


Version: Free.
A color picker instead of typing a code into a text field. It fits a section background and an accent color. The saved value is a string: the chunk puts it into CSS, inline or as a variable.
Fixed brand swatches fit colorpalette. Check text contrast on chosen background in chunk.
{
"name": "accent",
"type": "color",
"label": "Accent",
"tab": "Content",
"width": 100,
"active": true
}HEX string.
Key accent in the section data (HEX):
{
"accent": "#3b82f6"
}<span style="color: [[+accent]]">…</span><span style="color: {$accent|escape}">…</span>For fields with name that are stored in the section data:
| Key | Type | Role | CMP |
|---|---|---|---|
tab | string | Group subtitle in the inspector | yes |
width | 25–100 | Field width as % of the row (flex) | yes |
description | string | Hint under the label | yes |
default | any | Initial value for a new section | yes |
active | bool | false hides the field in the inspector | yes |
required | bool | Required on publish (draft still saves) | yes |
See fields overview.