PageBuilder
Visual section builder for MODX 3. Draft and publish without overwriting resource content

Version: Free.
Editors pick brand palette, not any hex. Static options like select with swatch UI. Fewer random colors in production.
Arbitrary hex needs color. Stored value is option key, not raw CSS.
{
"name": "theme",
"type": "colorpalette",
"label": "Color",
"swatches": [
"#111827",
"#c2410c"
],
"tab": "Content",
"width": 100,
"active": true
}HEX string.
Key theme in the section data (HEX):
{
"theme": "#3b82f6"
}<span style="color: {$theme|escape}">…</span>In CMP: optionsText (same as select); on save both options and swatches are written.
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 |
swatches or options with colors.See fields overview.