Skip to content

Progress bar

The progress bar is a visual element that provides information about the status of a submission or collecting process. For example, progress bars can be used to display how much time is left for a task to be completed or how much data is left to process, to inform the user how long they will have to wait.

The dashed target marker overhangs the track on both edges.

Values from @sbks/ds-elements@4.3.9
PartPropertyToken
TrackHeight6px
TrackMinimum width180px
TrackCorner radius--border-radius-small
Target markerHeight14px
Target markerWidth1px
Target markerOffset from the top of the track-4px
StripeThickness1px

The striped track shows the part of the value over the expected maximum.

Values from @sbks/ds-elements@4.3.9
PartPropertyToken
Label, legend and error messageText--color-on-layer-secondary
LegendText in the error variant--color-on-layer-danger
TrackUnreached part in the error and success variants--color-border-primary
Primary segmentSuccess variant--color-border-success-emphasis
Primary segmentError variant--color-border-danger-emphasis
Secondary segmentFill--color-border-info-emphasis
Overload segmentFill--color-border-warning-emphasis
StripesStripe and target marker dashes--color-border-danger-emphasis
StripesGaps between stripes--color-border-warning-emphasis