--- title: Progress Bar layout: documentation doc-tab: elements doc-subtab: progress breadcrumb: - home - documentation - elements - elements-progress meta: colors: true sizes: true variables: true --- {% capture progress %} 15% {% endcapture %} {% capture progress_indeterminate %} 15% 30% 45% 60% {% endcapture %}

The Bulma progress bar is a simple CSS class that styles the native <progress> HTML element.

{% include elements/snippet.html content=progress %} {% include elements/anchor.html name="Colors" %}

The progress bar element is available in all the different colors defined by the $colors Sass map.

{% for color in site.data.colors.justColors %} {% capture foobar %} {% assign n = forloop.index | times: 15 %} {{ n }}% {% endcapture %} {% include elements/snippet.html content=foobar %} {% endfor %} {% include elements/anchor.html name="Sizes" %} {% for size in site.data.sizes %} {% capture foobar %} {% assign n = forloop.index | times: 20 %} {{ n }}% {% endcapture %} {% include elements/snippet.html content=foobar %} {% endfor %} {% include elements/anchor.html name="Indeterminate" %}

If you don't set the HTML value attribute, you can display an indeterminate progress bar. It's used to show that some progress is going on, but the total duration is not yet determined.

{% include elements/snippet.html content=progress_indeterminate %} {% include components/variables.html type='element' %}