Progress components are built with two HTML elements, some CSS to set the width, and a few attributes. We don’t use the HTML5 <progress>
element, ensuring you can stack progress bars, animate them, and place text labels over them.
.progress
as a wrapper to indicate the max value of the progress bar..progress-bar
to indicate the progress so far..progress-bar
requires an inline style, utility class, or custom CSS to set their width..progress-bar
also requires some role
and aria
attributes to make it accessible.Add class .progress-bar
with .bg-primary
, .theme-color1
,.theme-color2
,.theme-color3
,.theme-color3