Indicators

Loading and progress indicators: spinners, determinate progress rings and animated dots.

import { LoadingIndicator, CircularProgress, LoadingDots } from "@plexui/react-native"

Examples

Overview

Platforms

iOS 26Android
Native componentActivity indicator (UIActivityIndicatorView) for the spinner; none for the ring and the dotsCircular progress indicator for the spinner; none for the ring and the dots
LookEight rounded spokes, brightening to the leading one, turning a spoke at a time; the Plex ring and dotsAn arc in the accent that surges and turns; the Plex ring, and dots that grow and fade in turn

API

LoadingIndicator

PropTypeDefaultDescription
sizenumber20Size in points
strokeWidthnumber—iOS: the spokes' width (by default the iOS 27 kit's proportion: 2/14 of the size up to 16, 4/30 to 27, 5/35 from 28). Android: the arc's stroke (by default an eighth of the size)
colorTextColor | string"primary"A text color or any color string; the accent on Android by default
durationnumber800The time of one turn in ms; Android's cycle keeps its proportion
aria-labelstring—The name read out, as a busy progress indicator; without one it is decorative
testIDstring—Test id
styleStyleProp<ViewStyle>—Style of the box

CircularProgress

PropTypeDefaultDescription
progressnumber—Static progress 0-100 (disables the simulated animation)
donebooleanfalseFills the ring and ends the simulated progress
maxDurationnumber15000Duration of the simulated progress in ms
sizenumber28Diameter in points
strokeWidthnumber2Stroke thickness in points of its 20pt drawing, capped at 4
ring"inset" | "edge""inset"`inset`: the web's drawing, a ring of radius 8 in 20 (28 across draws a ring of about 24). `edge`: the ring's outside on the box's edge, so `size` is the ring's own size and `strokeWidth` is in points of it
durationnumber300 on iOS, 200 on AndroidHow long a new value takes to draw, in ms
trackColorstring—Track color: a color or a token (var(--…))
trackActiveColorstring—Active segment color: a color or a token (var(--…))
aria-labelstring—The name read out, as a progress bar with its value
testIDstring—Test id
styleStyleProp<ViewStyle>—Style of the box

LoadingDots

PropTypeDefaultDescription
colorTextColor | string"primary"A text color or any color string
aria-labelstring—The name read out, as a busy progress indicator; without one they are decorative
testIDstring—Test id
styleStyleProp<ViewStyle>—Style of the row