Skip to main content

Progress

The Progress component shows the completion or status of a task or an operation. The Progress component can have different type like success, danger, warning, info and different modes, such as animated, striped. The Progress component can also have labels, colors.

You can find the progressBars component in the src/views/progressBars.jsx file.

Examples

Provide up-to-date feedback on the progress of a workflow with simple yet flexible progress bars. Progress Bar Preview

Result

25
50
75
100

Animated Progress Add animated prop to animate the stripes right to left. Progress

Bar Preview

Result

25
50
75
100

Stacked

Nest <ProgressBar />s to stack them. Progress Bar Preview

Result

Props

NameTypeDefaultDescription
variantsuccess, danger, warning, infoA string that specifies the color of the progress bar. You can choose from four options: success, danger, warning, or info.
nownumberA number that specifies the current value of the progress. You can use any positive number between 0 and 100.
labelnodeA node that specifies the content of the label. You can use any valid React element, such as a text, an icon, or a custom component.
stripedbooleanA boolean that indicates whether the progress bar has a striped pattern or not. If striped is true, the progress bar will have a striped effect that adds more contrast and texture. If striped is false, the progress bar will have a solid color.
animatedbooleanA boolean that indicates whether the progress bar has an animation or not. If animated is true, the progress bar will have a smooth transition that creates a sense of motion and activity. If animated is false, the progress bar will have a static appearance.

For more props please visit to react-bootstrap