Skip to content

ProgressBar

A horizontal bar that fills from 0 to 100.

Use it for: How far along something is: a fixed value, or a number field of the row with bindings.value.

  • 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 How large it is drawn.

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-bar",
"type": "ProgressBar",
"props": {
"value": 60,
"label": "Weekly goal"
}
}