Progress bars

Progress bars should be used when there is a determinate amount of time/progress related to a process (e.g., uploading a file). An indeterminate progress can be used in conjunction with a determinate progress bar.

Determinate progress bar

Importing... 60%
<div class="progress-labels">
    <span id="exampleProgressBarValue" class="pull-right text-muted">60%</span>
<div class="progress">
    <div id="exampleProgressBar" class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">

Indeterminate progress bar

Finalizing... 100%
<div class="progress-label">
    <span id="exampleProgressBarValue" class="pull-right text-muted">100%</span>
<div class="progress">
    <div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%;">

Load spinners

Load spinners should be used when there is an indeterminate amount of time/progress related to a process (e.g., downloading data).

Loading button with text

For buttons with text, the load spinner can appear where the icon would appear. The text may change to reflect the current state.

<button class="btn btn-default">Load more</button>
<button class="btn btn-default" disabled><i class="loading-icon"></i> Loading...</button>

Loading button with icon only

If a simple action is initiated from an icon-only button, the icon can be replaced with the load spinner until the action is complete.

<div class="pl-preview">
<button class="btn btn-default btn-icon-only loading-background" disabled><i style="visibility: hidden;" class="icon icon-star-o"></i></button>

Loading overlay

In some situations during the process of loading, it may be desired to overlay and block functionality until loading is complete.

Project name Description Price
Invoice Add invoice confirmation $4,500
Templates Refactor templates to use the new templating library $9,000
Payments Process payments using third party api $5,400
Account Management Improve account management workflow $6,000
<div class="loading-overlay">
    <i class="loading-icon"></i><div>Loading...</div>

Loading standalone

When loading data for the first time or loading additional data, use a flat load spinner with a label.

Loading cases...
<div class="loading">
    <i class="loading-icon"></i>
<div class="text-center text-muted">Loading cases...</div>