Content · Gutenberg
Icon Stats block for WordPress
Statistics displayed with large decorative icons, bold numbers, and descriptive labels.
Get Blockenberg
Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.
What it actually does
Statistics displayed with large decorative icons, bold numbers, and descriptive labels.
Inspector panels on this block: Settings, Stats. Those titles come from index.js, not from a shared template.
Icon Stats has no render.php and no frontend.js. The saved Gutenberg HTML is what visitors see, plus Blockenberg layout/typography CSS.
Where to find it
Gutenberg inserter → Content → search “Icon Stats” (block name `blockenberg/icon-stats` in block.json). Style it in the sidebar after insert.
How to use Icon Stats block for WordPress
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “Icon Stats”, insert it. Category: Content.
- Configure inspector controls that exist on this block. Open Settings. Set “Show Title”, “Settings — Title”, “Show Subtitle”, “Subtitle”.
- Publish. Save the page. Output is the saved block HTML; typography/colors follow Blockenberg shared panels.
Inspector controls from this block’s code
| Control | What the code does |
|---|---|
| Show Title | On/off toggle in the inspector. On by default. Saved as `showTitle`. |
| Settings — Title | Text field in the inspector. block.json default: By the Numbers. Saved as `title`. |
| Show Subtitle | On/off toggle in the inspector. On by default. Saved as `showSubtitle`. |
| Subtitle | Text field in the inspector. block.json default: Real results from real teams. Saved as `subtitle`. |
| Show Icons | On/off toggle in the inspector. On by default. Saved as `showIcon`. |
| Columns | Numeric range control in the inspector. Range 1–6. block.json default: 4. Saved as `columns`. |
| Icon Size | Numeric range control in the inspector. Range 16–64. block.json default: 32. Saved as `iconSize`. |
| Icon Circle Size | Numeric range control in the inspector. Range 32–120. block.json default: 64. Saved as `iconBgSize`. |
| Icon Circle Radius | Numeric range control in the inspector. Range 0–99. block.json default: 16. Saved as `iconBgRadius`. |
| Card Padding | Numeric range control in the inspector. Range 12–56. block.json default: 24. Saved as `cardPadding`. |
| Card Radius | Numeric range control in the inspector. Range 0–32. block.json default: 14. Saved as `cardRadius`. |
| Style — Gap | Numeric range control in the inspector. Range 8–40. block.json default: 16. Saved as `gap`. |
| Colors — Background | Color control in the inspector. block.json default: #ffffff. Saved as `bgColor`. |
| Card Background | Color control in the inspector. block.json default: #f9fafb. Saved as `cardBg`. |
| Colors — Border | Color control in the inspector. block.json default: #e5e7eb. Saved as `borderColor`. |
| Heading | Color control in the inspector. block.json default: #111827. Saved as `headingColor`. |
| Subtitle | Color control in the inspector. block.json default: #6b7280. Saved as `subtitleColor`. |
| Value (default) | Color control in the inspector. block.json default: #111827. Saved as `valueColor`. |
| Label | Color control in the inspector. block.json default: #374151. Saved as `labelColor`. |
| Description | Color control in the inspector. block.json default: #6b7280. Saved as `descColor`. |
| Value | Text field in the inspector. |
| Label | Text field in the inspector. |
| Description | Text field in the inspector. |
When this is the right block
- Statistics displayed with large decorative icons, bold numbers, and descriptive labels — that is the job of Icon Stats, not a generic content block.
- Use it when you need the editor control labeled “Show Title”, which exists on this block’s inspector.
- It matches pages about stats, icon, numbers.
- Inserter grouping: articles, cards, lists, and long-form layouts.
Notes from the implementation
Static block: markup is saved in post content; no PHP render callback in this folder.
FAQ
How do I add the Icon Stats block in WordPress?
Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Icon Stats”. It sits under Content. After insert, open Settings and set “Show Title”, “Settings — Title”, “Show Subtitle”, “Subtitle”.
What makes Icon Stats different from other Blockenberg blocks?
Statistics displayed with large decorative icons, bold numbers, and descriptive labels. Inspector labels on this block include “Show Title”, “Settings — Title”, “Show Subtitle”, “Subtitle”.
Is the Icon Stats Gutenberg block free?
Yes. Icon Stats ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.
Can I style Icon Stats to match my theme?
Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Settings, Stats).
Related content blocks
Number Box
Square or circle box with a large metric number, prefix, suffix and label.
Big Stat
Display a single large impactful statistic with prefix, suffix, label, and multiple visual styles.
Icon
Standalone styled icon with label, link, shape, animation, and rich customization.
Icon Accordion
Visually rich accordion with per-item icons, badges and custom colours — great for FAQs, feature lists and onboarding flows.
Icon Box
Single card with icon, title, text, and optional link button. Perfect for feature lists inside Row/Column.
Numbered List
Visual numbered or icon section — each item has a styled badge, heading, description, optional image and optional link. Ideal for steps, benefits, and 'why choose us' sections.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert Icon Stats from the Gutenberg inserter.