Skip to main content

Progress

Progress bars or circular meters — skills, capacity, completion, funding.

The block renders through the progress element — the same PHP that runs in the page builder, so the front end is identical either way.

What the sidebar exposes

OptionWhat it does
layoutBars or circles, and the settings that shape needs
barsThe entries — label and value
heightBar thickness
value_positionWhere the number sits
roundedRound the bar ends
stripedStriped fill
show_valuePrint the number
animateAnimate the fill on scroll
count_upCount the number up as it fills
gapSpace between entries
fill_colorFill colour
fill_color_2Second fill colour, for gradient fills
track_colorThe unfilled track
label_colorLabel colour

Anything not listed stays available in the page builder, and round-trips untouched — the block only writes the values you change, so an element styled in the builder keeps every setting this sidebar does not show.

note
bars is a repeater

It is an addable-popup: items expand in place in the block sidebar rather than opening a modal, and store exactly the value the page builder stores.

note
layout is a picker that reveals its own options

It is a multi-picker: choosing an option reveals the fields belonging to that choice, and only the chosen branch is saved — switch away and back, and the fields you filled in the branch you left are blank.

Bars are drawn at their final value, not animating up to it

Replaying the fill would restart on every option change — so the number you were trying to set would be the one thing the preview never held still long enough to show. Visitors see the animation, if animate is on.

note
count_up needs animate

The number counts up as the bar fills. With no fill animation there is nothing for it to keep pace with.