Data display

Progress

A determinate or indeterminate bar. Indeterminate is `value={null}` rather than a separate flag, which matches the ARIA model.

data-scope="progress"

Usage

<Progress value={62} label="Uploading" showValue />
<Progress :value="62" label="Uploading" show-value />
<Progress value={62} label="Uploading" showValue />
<ck-progress [value]="62" label="Uploading" showValue />

Props

PropTypeDefaultNotes
valuenumber | nullnull means indeterminate.
maxnumber100Upper bound.
variant"primary" | "success" | "error" | "warning" | "info""primary"Bar colour.
size"sm" | "md" | "lg""md"Bar thickness.
labelReactNodeLabel above the bar.
showValuebooleanfalsePrint the percentage.
stripedbooleanfalseStriped fill.
animatedbooleanfalseAnimate the stripes.

Prop names are identical in all four frameworks. Only two-way binding differs, and each framework uses its own idiom over the same underlying prop.

Migrating from react-ui-toolkit

v0v1Notes
indeterminatevalue={null}