Progress

A horizontal bar that shows how far a task has come, or a sweep while its length is unknown.

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

Examples

Overview

Segments

Platforms

iOS 26Android
Native componentProgress view (linear)Linear progress indicator
LookA 4pt track of the ink on a light gray, rounded; a sweep for an unknown length (iOS has none of its own)The accent on a light track, rounded; two lines running along it for an unknown length

API

PropTypeDefaultDescription
valuenumber | nullnullCurrent progress between 0 and max. Pass null for indeterminate
maxnumber100Maximum progress value
segmentsProgressSegment[]—Parts of one bar side by side: { value, color?, label? }, color one of primary, secondary, success, warning, caution, danger, info, discovery. Takes the place of value
size"sm" | "md" | "lg""sm"The bar's thickness: sm 4pt (iOS's progress view), md 6pt, lg 8pt (a bar in a stats card)
color"primary" | "secondary" | "success" | "warning" | "caution" | "danger" | "info" | "discovery""primary"The color of the filled part; primary is the ink on iOS and the accent on Android. A segmented bar's parts take their own colors
animatedbooleantrueWhether a new value moves the fill by itself (120ms on iOS, 300ms on Android). false puts the fill at each value at once, for a value the screen moves itself
getValueLabel(value: number, max: number) => string—The value read out. Defaults to the rounded percentage, e.g. "67%"
aria-labelstring—The name read out, when no visible label names the bar
aria-labelledbystring—The nativeID of the visible label that names the bar (Android and the web)
testIDstring—Test id
styleStyleProp<ViewStyle>—Style of the track