Cajón Design System
Components

Progress

Token-driven linear progress indicator for determinate and indeterminate loading.

Modes

Determinate progress uses value and max to compute the filled width. Indeterminate progress ignores both and animates a loading segment across the track.

Usage

import { Progress } from '@cajon-ui/react';

<Progress value={28} showValue />
<Progress value={64} tone="success" size="lg" showValue />
<Progress indeterminate tone="info" />

Props

PropTypeDefaultNotes
valuenumber0Current progress value
maxnumber100Maximum progress value
toneprimary | success | warning | error | infoprimaryFill color
sizesm | md | lgmdTrack height
indeterminatebooleanfalseAnimated loading state
showValuebooleanfalseRenders a percentage label

On this page