Synapse

Components Sections

Stats

Sections stats

Key metrics in a row.

Markup

Drops in as data-pb-block="stats".

html
<section data-pb-block="stats" class="pb-stats" style="padding:4rem 1.5rem;background:#f8fafc;">
  <div class="pb-stats__row" style="display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;max-width:60rem;margin:0 auto;text-align:center;">
    <div><div style="font-size:2.5rem;font-weight:800;color:#4f46e5;">99.9%</div><div style="color:#475569;">Uptime</div></div>
    <div><div style="font-size:2.5rem;font-weight:800;color:#4f46e5;">10k+</div><div style="color:#475569;">Customers</div></div>
    <div><div style="font-size:2.5rem;font-weight:800;color:#4f46e5;">24/7</div><div style="color:#475569;">Support</div></div>
  </div>
</section>

Settings

Everything a block can be configured to do:

Bind to State
Drive content reactively from a State with declarative Alpine — x-text, x-show or x-model over $store.app.<stateKey>.
On event → run a Flow
Wire an interaction to a Flow: set data-pb-flow="<slug>" and data-pb-flow-event="click|submit|hover|change|…". The flow's returned actions update the page.
Link to a page
Navigate to another published page on click with data-pb-page="<slug>".
Styles & classes
Edit spacing, colour and layout visually in the GrapesJS editor. The wrapper carries data-pb-block="stats" so it imports as a labelled, editable component.