Skip to content

ProgressRing

A ring that fills from 0 to 100, with the percentage in the middle.

Use it for: A score or a goal. caption adds a short line under the number.

  • CategoryVisual
  • ChildrenNone
  • DataOne field (bindings.value)
  • ActionNone
  • Row colorCan take its fill from a field of the row (bindings.tint)
Prop Required Accepts What it does
value No whole number, 0 to 100 A fixed amount from 0 to 100. Leave it out when the amount comes from bindings.value.
label Yes text, up to 200 characters The visible label, also read by VoiceOver.
size No sm, md, lg How large it is drawn.
caption No text, up to 200 characters A short line under the percentage.

Every component also accepts id (required, unique on its screen), and the optional preset and style described in Style options. Every component except Screen accepts when, described in Data-driven look.

{
"id": "goal-ring",
"type": "ProgressRing",
"props": {
"value": 60,
"label": "Weekly goal",
"size": "md",
"caption": "of your goal"
}
}