Progress Scale

A value on a scale of a few labelled bands, read only, with a marker at the value.

import { ProgressScale } from "@plexui/react-native"

Examples

Overview

Platforms

iOS 26Android
Native componentGauge, linear (Health's ranges)Linear progress indicator with a handle
LookCapsule bands, the value's in the accent, a white knobBands 4 tall, the value's in primary, a 4 × 16 handle

API

PropTypeDefaultDescription
bands(string | { label: string; accessibilityLabel?: string })[]—The bands, side by side and equally wide, each with its label under it
valuenumber—Where the value stands, between 0 and max; its band is the one it falls in
maxnumber100The scale's end
animatedboolean | { value?: { duration?, delay?, easing? }; light?: { duration?, delay? } }truetrue: a new value moves the marker. An object: the first value comes in too, the band lighting after the marker. false: at once
showLabelsbooleantrueWhether 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-labelstring—The name read out
testIDstring—Test id
styleStyleProp<ViewStyle>—Style of the scale