Skip to Content
Patternfly Logo

Progress

Progress bars inform users about the status of ongoing processes, such as loading an app, submitting a form, or saving updates. Progress bars can also inform users about their progress through a tutorial or a series of steps to reach completion. Related design guidelines: Progress bar

ExamplesPropsCSS Variables

Examples

Simple

Title
33%

Small

Title
33%

Large

Title
33%

Outside

Title
33%

Inside

Title
33%

Success

Title
100%

Failure

Title
33%

Inside success

Title
100%

Outside failure

Title
33%

Single line

33%

Without measure

Title

Failure without measure)

Title

Finite step

Title
2 of 5

Progress (step instruction)

Title
Step 2: Copying files

Props

Progress properties
NameTypeRequiredDefaultDescription
classNamestringNo''Classname for progress component.
size'sm' | 'md' | 'lg'NonullSize variant of progress.
measureLocation'outside' | 'inside' | 'top' | 'none'NoProgressMeasureLocation.topWhere the measure percent will be located.
variant'danger' | 'success'NonullStatus variant of progress.
titlestringNo''Title above progress.
labelReact.ReactNodeNonullText description of current progress value to display instead of percentage.
valuenumberNo0Actual value of progress.
idstringNo''DOM id for progress component.
minnumberNo0Minimal value of progress.
maxnumberNo100Maximum value of progress.
valueTextstringNonullAccessible text description of current progress value, for when value is not a percentage. Use with label.

CSS Variables

.pf-c-progress--pf-c-progress--GridGap
1rem
.pf-c-progress--pf-c-progress__bar--before--BackgroundColor
#06c
.pf-c-progress--pf-c-progress__bar--Height
1rem
.pf-c-progress--pf-c-progress__bar--BackgroundColor
#fff
.pf-c-progress--pf-c-progress__status-icon--Color
#151515
.pf-c-progress--pf-c-progress__status-icon--MarginLeft
0.5rem
.pf-c-progress--pf-c-progress__bar--before--Opacity
.2
.pf-c-progress--pf-c-progress__indicator--Height
1rem
.pf-c-progress--pf-c-progress__indicator--BackgroundColor
#06c
.pf-c-progress--pf-c-progress--m-danger__bar--BackgroundColor
#c9190b
.pf-c-progress--pf-c-progress--m-success__bar--BackgroundColor
#3e8635
.pf-c-progress--pf-c-progress--m-danger__status-icon--Color
#c9190b
.pf-c-progress--pf-c-progress--m-success__status-icon--Color
#3e8635
.pf-c-progress--pf-c-progress--m-inside__indicator--MinWidth
2rem
.pf-c-progress--pf-c-progress--m-inside__measure--Color
#fff
.pf-c-progress--pf-c-progress--m-success--m-inside__measure--Color
#151515
.pf-c-progress--pf-c-progress--m-inside__measure--FontSize
0.875rem
.pf-c-progress--pf-c-progress--m-outside__measure--FontSize
0.875rem
.pf-c-progress--pf-c-progress--m-sm__bar--Height
0.5rem
.pf-c-progress--pf-c-progress--m-sm__description--FontSize
0.875rem
.pf-c-progress--pf-c-progress--m-sm__measure--FontSize
0.875rem
.pf-c-progress--pf-c-progress--m-lg__bar--Height
1.5rem
.pf-c-progress.pf-m-sm--pf-c-progress__bar--Height
0.5rem
.pf-c-progress.pf-m-lg--pf-c-progress__bar--Height
1.5rem
.pf-c-progress.pf-m-success--pf-c-progress__bar--before--BackgroundColor
#3e8635
.pf-c-progress.pf-m-success--pf-c-progress__status-icon--Color
#3e8635
.pf-c-progress.pf-m-success--pf-c-progress--m-inside__measure--Color
#151515
.pf-c-progress.pf-m-danger--pf-c-progress__bar--before--BackgroundColor
#c9190b
.pf-c-progress.pf-m-danger--pf-c-progress__status-icon--Color
#c9190b