Key figures band in WordPress
Four key figures in a row, each with its caption, separated by thin rules.
Here is an excerpt of this component's code in WordPress. The full code is free for members, ready to copy into your project.
This component also comes in
The code in WordPress
<!-- wp:group {"tagName": "section", "className": "sband", "layout": {"type": "default"}} -->
<section class="wp-block-group sband"><!-- wp:html -->
<dl>
<div>
<dt>clients actifs</dt>
<dd>12 400</dd>
</div>
<div>
<dt>de disponibilité en 2025</dt>
<dd>98,7 %</dd>
</div>
<div><?php
/**
* Plugin Name: Forge, Bandeau de chiffres clés
* Description: Quatre chiffres clés en ligne, chacun avec sa légende, séparés par de fins filets. Ajoute la composition « Bandeau de chiffres clés » à l'éditeur de blocs.
* Version: 1.0.0
* Requires at least: 6.6
* Requires PHP: 8.1
* Author: Forge
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: forge-stats-bandeau-chiffres
*:root {
--sb-text: #0b1b3a;
--sb-muted: #46577a;
--sb-line: #c9d6f2;
--sb-value: #1d4ed8;
--demo-stats-bandeau-chiffres-bg: #f8faff;
--demo-stats-bandeau-chiffres-text: #0b1b3a;
}
@media (prefers-color-scheme: dark) {
:root.forge-follows-system:not([data-theme="light"]) {
--sb-text: #e6edff;Free component: copy it freely, including for commercial projects.
Other statistics components in WordPress
Statistics components in WordPress
A client area page for a small business website: sidebar, four metrics (visits, requests, reply rate and reply time) with their change, an SVG line chart per period and a filterable table of the latest messages, with no chart library.
- Tailwind
- React
- CSS
- WordPress

Three semicircle gauges whose needle swings to the value, with figure, label and source readable as text, in pure CSS.
- Tailwind
- React
- CSS
- WordPress

A row of guarantees (ten-year insurance, free quote, call-out within 24 hours, RGE and Qualibat labels) that reassures visitors right below the call to action.
- Tailwind
- React
- CSS
- WordPress

Four key figures in cards that count up from zero to their value when the section scrolls into view, with icon, unit and label.
- Tailwind
- React
- CSS
- WordPress

Four tinted paper cards pinned askew with tape on a dotted background: each figure of the venue's story has its line drawing, its title and its sentence.
- Tailwind
- React
- CSS
- WordPress