Progress Bar

Progress indicators offer visibility of system status to the user, giving feedback to indicate that the application is taking some time to processing data. The main aim of these components is to reduce the user's uncertainty about offering something to look at while the user is waiting for the end. A progress bar should be used in any scenario that will take more than 1 second in performing the action, for anything that takes less than that time, it will be distracting for the user.

Specifications

Progress bar design specifications
Progress bar design specifications

Anatomy

Progress bar anatomy
  1. 1.
    Label (Optional)
  2. 2.
    Progress track line
  3. 3.
    Helper text (Optional)
  4. 4.
    Progress total line
  5. 5.
    Progress indicator (Optional)

Design tokens

Color

Component tokenElementCore tokenValue
trackLineColorTrack linecolor-purple-700#5f249f
totalLineColorTotal linecolor-grey-200#e6e6e6
labelFontColorLabelcolor-black#000000
labelFontColorLabelcolor-black#000000
indicatorFontColorIndicatorcolor-black#000000
helperFontColorHelper textcolor-black#000000
overlayColorOverlaycolor-grey-800-a#000000b3
overlayFontColorOverlay font colorcolor-white#ffffff

Size

PropertyElementCore tokenValue
heightTrack line-8px
heightTotal line-8px
max-widthOverlay-100vw
max-heightOverlay-100vh

Internal spacing

PropertyElementCore tokenValue
margin-bottomLabel-8px
margin-topHelper text-8px

Margin

MarginValue
xxsmall6px
xsmall16px
small24px
medium36px
large48px
xlarge64px
xxlarge100px

And also apply different values to each side of the component:top, bottom, left, right.

Typography

PropertyElementCore tokenValue
font-sizeLabelfont-scale-0112px
font-weightLabelfont-regular400
text-transformLabelfont-transform-uppercaseuppercase
font-sizeIndicatorfont-scale-0214px
font-weightIndicatorfont-bold600
font-sizeHelper textfont-scale-0112px
font-weightHelper textfont-regular400

Border

PropertyElementCore tokenValue
border-widthTrack lineborder-width-00
border-styleTrack lineborder-style-nonenone
border-radiusTrack lineborder-radius-full9999px