A value on a scale of a few labelled bands, read only, with a marker at the value.
import { ProgressScale } from "@plexui/react-native"
| iOS 26 | Android |
|---|
| Native component | Gauge, linear (Health's ranges) | Linear progress indicator with a handle |
| Look | Capsule bands, the value's in the accent, a white knob | Bands 4 tall, the value's in primary, a 4 × 16 handle |
| Prop | Type | Default | Description |
|---|
bands | (string | { label: string; accessibilityLabel?: string })[] | — | The bands, side by side and equally wide, each with its label under it |
value | number | — | Where the value stands, between 0 and max; its band is the one it falls in |
max | number | 100 | The scale's end |
animated | boolean | { value?: { duration?, delay?, easing? }; light?: { duration?, delay? } } | true | true: a new value moves the marker. An object: the first value comes in too, the band lighting after the marker. false: at once |
showLabels | boolean | true | Whether the labels show under the bands |
getValueLabel | (value: number, max: number, band: string) => string | — | The value read out; the band and the share by default |
aria-label | string | — | The name read out |
testID | string | — | Test id |
style | StyleProp<ViewStyle> | — | Style of the scale |