ReferenceComponents

gauge

One reading on a scale of named bands, drawn as a half dial.

Where a reading falls. gauge draws one value on a half dial of named bands: a UV index, a skin score, air quality, a credit score, signal strength.

UV index now7HighLowExtreme

Drawn live in your browser with the SDK’s own sizes and colours, not a screenshot.

Rendered natively by the Flutter SDK since 0.101.0 and the web SDK since 0.76.0. A build that does not declare it is never offered it.

bands run from the lowest to the highest and band_index (0-based) names the one the reading is in. position (0 to 1) places the knob along the whole scale; the knob is kept inside the named band, so the dial and the band never disagree. The band is always written under the reading, never shown by colour alone.

When not to use it

A share of a limit, such as data used against an allowance, is progress. A number on its own is a stat_group. A value over time is a chart.

Props

Every block also carries type and a required fallback_text of 1 to 300 characters.

PropTypeRequiredConstraints
titlestringYes1 to 80 characters.
valuestringYes1 to 12 characters.
bandsarrayYes2 to 6 entries.
bands[].labelstringYes1 to 20 characters.
band_indexintegerYes0 to 5.
positionnumberNo0 to 1.
as_ofstringNoISO 8601 with its offset (2026-10-10T09:30:00+03:00) or Z.
notestringNoUp to 200 characters.

On the wire

{
  "id": "blk_95",
  "type": "gauge",
  "fallback_text": "The UV index is 7, high: SPF 50 and shade at noon.",
  "props": {
    "title": "UV index now",
    "value": "7",
    "bands": [
      { "label": "Low" },
      { "label": "Moderate" },
      { "label": "High" },
      { "label": "Very high" },
      { "label": "Extreme" }
    ],
    "band_index": 2,
    "position": 0.52,
    "as_of": "2026-11-20T13:00:00+03:00",
    "note": "SPF 50, and again every two hours."
  }
}

Interaction

Nothing on a gauge is pressed. as_of is written on the reader's own clock beside the title. The first and the last band are named at the two ends of the dial; note sits under it.