Progress bar
Color
Element | Property | Color token |
---|---|---|
Label | text color |
|
Helper text | text color |
|
Track | background |
|
Bar: active | background |
|
Bar: success | background |
|
Icon: success | fill |
|
Bar: error | background |
|
Icon: error | fill |
|
![Progress bar status colors](/static/e8449a76149b6b1c14c008194a28c149/3cbba/progress-bar-style-1.png)
Status colors
Typography
Element | Font-size (px/rem) | Font-weight | Type token |
---|---|---|---|
Label | 14px / 0.875rem | Regular / 400 |
|
Helper text | 12px / 0.75rem | Regular / 400 |
|
Structure
Depending on the use case, progress bar can have three ways for text alignment: default, inline, and indented. The width of a progress bar can be customized appropriately for its context. The minimum width of a progress bar is 48px and keep its width to a maximum of six columns when possible.
Element | Property | px / rem | Spacing token |
---|---|---|---|
Label (top aligned) | padding-bottom | 8 / 0.5 |
|
Helper text | padding-top | 8 / 0.5 |
|
Label (left aligned) | padding-right | 16 / 1 |
|
![Structure and spacing measurements for the progress bar.](/static/b17cc5db399f05e8272340c66af32ed3/3cbba/progress-bar-style-4.png)
Structure and spacing measurements the progress bar | px / rem
![Structure and spacing measurements for the progress bar with an icon.](/static/7f09c93237080de2f2d1e3a505bda8bd/3cbba/progress-bar-style-5.png)
Structure and spacing measurements the progress bar with an icon | px / rem
Sizes
There are two sizes for the progress bar height, big and small.
Size | Height px / rem |
---|---|
Big | 8 / 0.5 |
Small | 4 / 0.25 |
![Progress bar sizes](/static/9d46cf6e2cd7854d487588860ce010d4/3cbba/progress-bar-style-6.png)