1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-26 11:16:12 +04:00
Files
tabler/pages/_docs/progress.md
2019-12-09 18:34:11 +01:00

1.4 KiB
Raw Blame History

title, description, bootstrap-link
title description bootstrap-link
Progress A progress bar can be used to show a user how far along he is in a process. https://getbootstrap.com/docs/4.4/components/progress/

Default markup

To create a default progress bar, add a .progress class to a <div> element:

{% example html %} {% include ui/progress.html %} {% endexample %}

Progress size

Using Bootstraps typical naming structure, you can create a standard progress, or scale it up to different sizes based on whats needed.

{% example html %} {% include ui/progress.html value=57 size="sm" %} {% endexample %}

Progress without value

Remove the showed value by adding a class called .sr-only.

{% example html %} {% include ui/progress.html value=75 show-value=false %} {% endexample %}

Indeterminate progress

To create indeterminate progress add .progress-bar-indeterminate to the .progress-bar element.

{% example html %} {% include ui/progress.html indeterminate=true size="sm" %} {% endexample %}

Native progress element

You can also use native HTML5 <progress> element.

{% example html %} {% endexample %}

Progress color

Customize the color of the progress bar. You can click [here]({% docs_url colors %}) to see the list of available colors.

{% example %} {% include ui/progress.html size="sm" color="purple"%} {% endexample %}