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


Version: Free.
One checkbox for one option. The saved value is yes or no, not the string "1" or "0". With showWhen it shows or hides other fields.
Multiple independent flags use checkboxgroup. Visible on/off switch fits toggle better.
{
"name": "featured",
"type": "checkbox",
"label": "Featured",
"tab": "Content",
"width": 100,
"active": true
}Boolean.
Key featured in the section data:
{
"featured": true
}<span class="badge">Featured</span>{if $featured}<span class="badge">Featured</span>{/if}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.