Progress
A bar showing how far a task has got.
Staticimport { Progress } from 'umbra-ui'
Props
| Prop | Type | Default | Description |
|---|---|---|---|
max | number | 100 | Value that counts as complete. |
size | "sm" | "md" | md | Bar thickness. |
value | number | null | null | Current value from 0 to `max`. `null` shows an indeterminate bar. |
Usage notes
Pass value (0 to max) when you know how far along the task is. Leave it out for an indeterminate bar.
Accessibility
role="progressbar"witharia-valuenowandaria-valuemax. Give it anaria-labeloraria-labelledby.- The indeterminate bar stops sliding under reduced motion.
Import
import { Progress } from 'umbra-ui';
import 'umbra-ui/styles.css'; // once, at the root of your app