Business · Gutenberg

Milestone block for WordPress

Circular progress ring showing progress toward a numeric goal with animated ring and center label.

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.

Get Blockenberg

What it actually does

Circular progress ring showing progress toward a numeric goal with animated ring and center label.

Inspector panels on this block: Values, Appearance. Those titles come from index.js, not from a shared template.

Behavior controls: “Center Label” options: Percentage (%), Value / Goal, Custom Text.

Where to find it

Gutenberg inserter → Business → search “Milestone” (block name `blockenberg/milestone` in block.json). Style it in the sidebar after insert.

How to use Milestone block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Milestone”, insert it. Category: Business.
  3. Configure inspector controls that exist on this block. Open Values. Set “Current Value”, “Goal Value”, “Center Label”, “Custom Center Text”.
  4. Check the published page. The view script reads HTML data attributes: data-animate, data-current, data-goal. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Current ValueNumeric range control in the inspector. block.json default: 75. Saved as `current`.
Goal ValueNumeric range control in the inspector. Range 1–1000. block.json default: 100. Saved as `goal`.
Center LabelSelect control; the chosen value is saved on the block. Options: Percentage (%); Value / Goal; Custom Text. block.json default: auto. Saved as `centerLabel`.
Custom Center TextText field in the inspector. Saved as `customCenterLabel`.
Ring Size (px)Numeric range control in the inspector. Range 80–280. block.json default: 160. Saved as `size`.
Ring Thickness (px)Numeric range control in the inspector. Range 4–30. block.json default: 12. Saved as `strokeWidth`.
Glow EffectOn/off toggle in the inspector. Off by default. Saved as `glow`.
Animate on ScrollOn/off toggle in the inspector. On by default. Saved as `animateOnView`.
Progress RingColor control in the inspector. block.json default: #6c3fb5. Saved as `ringColor`.
TrackColor control in the inspector. block.json default: #e9e3ff. Saved as `trackColor`.
Colors — TextColor control in the inspector. block.json default: #222222. Saved as `textColor`.

What the front-end script actually does

When this is the right block

Notes from the implementation

viewScript: this folder’s frontend.js is enqueued on the front end for this block.

FAQ

How do I add the Milestone block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Milestone”. It sits under Business. After insert, open Values and set “Current Value”, “Goal Value”, “Center Label”, “Custom Center Text”.

What makes Milestone different from other Blockenberg blocks?

Circular progress ring showing progress toward a numeric goal with animated ring and center label. Inspector labels on this block include “Current Value”, “Goal Value”, “Center Label”, “Custom Center Text”.

Is the Milestone Gutenberg block free?

Yes. Milestone ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Milestone 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: Values, Appearance).

Related business blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Milestone from the Gutenberg inserter.

Get Blockenberg