Skip to content
Year-over-year, light
Light
Year-over-year, dark
Dark

Every state

  • Year-over-year, default, light
    Year-over-year, default, dark

    default

  • Year-over-year, worse, light
    Year-over-year, worse, dark

    worse

  • Year-over-year, growth, light
    Year-over-year, growth, dark

    growth

  • Year-over-year, same, light
    Year-over-year, same, dark

    same

  • Year-over-year, narrow, light
    Year-over-year, narrow, dark

    narrow

Props

PropTypeDefaultWhat it does
labelstring"Gas used by the town's schools"What the figure counts.
valuenumber412800This year's figure.
previousnumber529300Last year's figure, drawn struck through.
unitstring | null"m³"Unit after both figures ("kWh"). Null or left out: no unit.
yearnumber2026The year of `value`.
higherIsBetterbooleanfalseTrue when a rise is good news (visitors, savings); false when a fall is (energy use, wait times).
notestring | null"Meter readings from 14 primary schools, January to October"One line on where the figures come from. Null or left out: no line.
labelsStatTileYearOverYearLabels{ up: "{pct}% more than in {year}", down: "{pct}% less than in {year}", same: "The same as in {year}", was: "In {year…Labels.
localestring"en-GB"Locale for the figures.
classNamestring–Extra classes on the outer element.

Guides about stat tiles

More stat tiles

All 16
stat-tile-16 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans