Import
Copy code
import { Progress } from '@k8ordo/ui';Usage
Copy code
<Progress max={100} value={60} />Values
Copy code
<Progress max={100} value={20} />
<Progress max={100} value={50} />
<Progress max={100} value={80} />
<Progress max={100} value={100} />With a label
Copy code
<Progress
label="Upload progress"
max={100}
value={75}
/>Unknown progress
The bar moves back and forth along the track. It carries no value for assistive technology and is named by label, or by the built-in “loading” wording without one. With reduced motion it stops moving and only pulses.
Copy code
<Progress label="Uploading" />Props
label?- Type:
string - Default: -
max?- Type:
number - Default:
100 min?- Type:
number - Default:
0 value?- Type:
number - Default: -
| Prop | Type | Default |
|---|---|---|
label? | string | - |
max? | number | 100 |
min? | number | 0 |
value? | number | - |
Inherited attributes (except the ones set internally): HTMLAttributes<HTMLDivElement>