FEEDBACK

Progress

Determinate progress bar built on Radix Progress. Memphis-bordered track with a secondary token fill that animates to value.

Import

import { Progress } from 'damo-ui'

Determinate

<Progress value={66} />

Custom indicator color

Override the fill bar with indicatorClassName — useful for success / warning / danger flows.

<Progress value={50} indicatorClassName="bg-success" />

Indeterminate

Pass value={null} when total length is unknown — Radix sets aria-busy=true. Reach for Spinner for compact indeterminate feedback.

<Progress value={null} aria-label="Loading" />

Props

Progress props
PropTypeDefaultDescription
valuenumber | nullCurrent progress 0..100. Pass null for an indeterminate state (Radix marks it aria-busy).
maxnumber100Maximum value forwarded to Radix Progress.
indicatorClassNamestringTailwind classes applied to the inner indicator (the filling bar).
classNamestringTailwind classes merged on top of the track.
aria-labelstringRequired when no surrounding visible label is present.

Accessibility

  • Radix sets role="progressbar" with aria-valuemin, aria-valuemax, and aria-valuenow.
  • Always supply aria-label or aria-labelledby describing what the bar represents (Uploading file, Profile completion…).