ProgressBar
Use progress bars to visualize task completion.
- Alpha
- Not reviewed for accessibility
import {ProgressBar} from '@primer/react'
If you'd like to use ProgressBar inline, pass the inline
boolean prop & be sure to set a width.
Name | Type | Default | Description |
---|---|---|---|
progress | number | 0 | Used to set the size of the green bar |
barSize | | 'small' | 'large' | 'default' | 'default' | Controls the height of the progress bar. If omitted, height is set to the default height. |
inline | boolean | false | Styles the progress bar inline |
bg | string | 'bg.successInverse' | Set the progress bar color |
sx | SystemStyleObject | Style overrides to apply to the component. See also overriding styles. |