Progress Bar

Ready

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

Component design specifications
Component design specifications

Anatomy

Component 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 tokenElementTokenValue
trackLineColorTrack linecolor-purple-700#5f249f
trackLineColorOnDarkTrack linecolor-purple-500#a46ede
totalLineColorTotal linecolor-grey-200#e6e6e6
labelFontColorLabelcolor-black#000000
labelFontColorLabelcolor-black#000000
labelFontColorOnDarkLabelcolor-white#ffffff
indicatorFontColorIndicatorcolor-black#000000
indicatorFontColorOnDarkIndicatorcolor-white#ffffff
helperFontColorHelper textcolor-black#000000
helperFontColorOnDarkHelper textcolor-white#ffffff
overlayColorOverlaycolor-grey-800-a#000000b3

Size

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

Internal spacing

PropertyElementTokenValue
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

PropertyElementTokenValue
font-sizeLabelfont-scale-0214px
font-weightLabelfont-regular400
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