Progress
Set Theme Color
Icon Border Stroke
Layout Section Light/Dark
More App Settings
Progress bar
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.
-
We use the
.progressas a wrapper to indicate the max value of the progress bar. -
We use the inner
.progress-barto indicate the progress so far. -
The
.progress-barrequires an inline style, utility class, or custom CSS to set their width. -
The
.progress-baralso requires someroleandariaattributes to make it accessible.
<div class="progress mb-2">
<div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>
</div>
<div class="progress mb-2">
<div class="progress-bar" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
</div>
<div class="progress mb-2">
<div class="progress-bar" role="progressbar" style="width: 50%" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"></div>
</div>
<div class="progress mb-2">
<div class="progress-bar" role="progressbar" style="width: 75%" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div>
</div>
<div class="progress mb-2">
<div class="progress-bar" role="progressbar" style="width: 100%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div>
</div>
Basic Example
Progress bar with dashbanker Theme color
Basic Example
Add class
.progress-bar
with
.bg-primary
,
.theme-color1
,
.theme-color2
,
.theme-color3
,
.theme-color3