ProgressBar
Native linear progress bar supporting horizontal and vertical orientations with rounded caps — ideal for memory usage, daily habit breakdowns, and countdown completion.
Signature#
SIGNATURE
<ProgressBar
value={65}
total={100}
color="theme.accent"
trackColor="theme.track"
height={6}
/>
65 / 100 · height={6}
65 / 100
Props#
Inherits StyleProps:
valuenumberRequired- Current progress value.
totalnumberDefault 100- Maximum total (ratio is automatically clamped between
0and1). colorstringDefault "theme.accent"- Active fill color token or hex.
trackColorstringDefault "theme.track"- Inactive track fill color.
heightnumberDefault 6- Thickness in points in horizontal orientation.
orientationstringDefault "horizontal"- Direction:
"horizontal"or"vertical".
Example: Multi-Goal Progress Bars#
TSX
<VStack spacing={10}>
<ProgressBar value={45} total={60}
color="theme.blue" height={6} />
<ProgressBar value={30} total={30}
color="theme.success" height={6} />
<ProgressBar value={18} total={30}
color="theme.purple" height={6} />
</VStack>
Multi-Goal Progress
In Action#
