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

Version: Free.
All choices visible without opening a dropdown. Same static options model as select. Best for two to five exclusive values.
Long lists belong in select. Simple on/off is faster with yesno or toggle.
{
"name": "align",
"type": "radio",
"label": "Alignment",
"options": [
{
"label": "Left",
"value": "left"
},
{
"label": "Center",
"value": "center"
}
],
"tab": "Content",
"width": 100,
"active": true
}Selected option value string.
Key align in the section data: selected option value string:
{
"align": "lg"
}<div class="align-{$align|escape}">
…
</div>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.