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

Several KPIs in a row or grid: years in business, client count, and similar figures. Large number, small caption.
Metrics repeater: Value and Label per row. Three or four items usually work best.
| Parameter | Value |
|---|---|
| key | stats |
| Layer | Free |
| Category | social proof (social) |
| Chunk | pagebuilder_stats |
| Requires | — |
Fill these fields in the section inspector. Field types are documented in the field types reference.
title) Type text. Optional.
items) Type repeater. Required. Repeatable rows. "Add" button in the inspector.
Each row:
| Field | Type | Label | Required |
|---|---|---|---|
value | text | Value | yes |
label | text | Label | yes |
pb-stats grid with value / label pairs.
Example payload after save. Media, video, and map values may be enriched on output:
{
"title": "Section title",
"items": [
{
"_rowId": "00000000-0000-4000-8000-000000000001",
"value": "1200+",
"label": "Happy customers"
}
]
}Fenom chunk pagebuilder_stats:
<section class="pb-section pb-section--stats pb-stats{if $cssClass} {$cssClass|escape}{/if}" data-pb-section="stats"{if $id} id="pb-{$id|escape}"{/if}>
<div class="pb-section__inner pb-stats__inner">
{if $title}
<h2 class="pb-heading pb-stats__title">{$title|escape}</h2>
{/if}
<div class="pb-stats__grid">
{foreach $items as $item}
<div class="pb-stats__item">
<div class="pb-stats__value">{$item.value|escape}</div>
<div class="pb-stats__label">{$item.label|escape}</div>
</div>
{/foreach}
</div>
</div>
</section>core/components/pagebuilder/sections/stats.json