Progress
Documentation and examples for using Falcon custom progress bars featuring support for stacked bars, animated backgrounds, and text labels
Progress Bars on BootstrapBasic Example
<div class="progress mb-3" style="height:15px" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar" style="width: 70%">
</div>
</div>
Label
<div class="progress mb-3" style="height:15px" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar" style="width: 50%">50%
</div>
</div>
Height
<div class="progress mb-3" style="height:1px" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar" style="width: 70%">
</div>
</div>
<div class="progress mb-3" style="height:10px" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar" style="width: 70%">
</div>
</div>
<div class="progress mb-3" style="height:20px" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar" style="width: 70%">
</div>
</div>
Background
<div class="progress mb-3" style="height:15px" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar bg-success" style="width: 30%">
</div>
</div>
<div class="progress mb-3" style="height:15px" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar bg-info" style="width: 40%">
</div>
</div>
<div class="progress mb-3" style="height:15px" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar bg-warning" style="width: 50%">
</div>
</div>
<div class="progress mb-3" style="height:15px" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar bg-danger" style="width: 60%">
</div>
</div>
Multiple bars
<div class="progress-stacked">
<div class="progress" role="progressbar" aria-valuenow="15" aria-valuemin="0" aria-valuemax="100" style="width: 15%">
<div class="progress-bar"></div>
</div>
<div class="progress" role="progressbar" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100" style="width: 30%">
<div class="progress-bar bg-success"></div>
</div>
<div class="progress" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%">
<div class="progress-bar bg-info"></div>
</div>
</div>
Striped
<div class="progress mb-3" style="height:15px" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar bg-success progress-bar-striped" style="width: 30%">
</div>
</div>
<div class="progress mb-3" style="height:15px" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar bg-info progress-bar-striped" style="width: 40%">
</div>
</div>
<div class="progress mb-3" style="height:15px" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar bg-warning progress-bar-striped" style="width: 50%">
</div>
</div>
<div class="progress mb-3" style="height:15px" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar bg-danger progress-bar-striped" style="width: 60%">
</div>
</div>
<div class="progress mb-3" style="height:15px" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar bg-primary progress-bar-striped" style="width: 70%">
</div>
</div>
Animated
To animate any progress bar in Falcon, set a unique id to the progress element and assign it to the data-progress-animation
attribute in the targetted link or button. It will toggle the .progress-bar-animated
class to the progress bar element.
<div class="progress" role="progressbar" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar progress-bar-striped" id="progress-toggle" style="width: 75%"></div>
</div>
<button class="btn btn-secondary btn-sm mt-2" type="button" data-progress-animation="progress-toggle">Toggle Animation </button>