| layout | docs |
|---|---|
| title | Tailwind CSS Progress Bar - Flowbite |
| description | Use the progress bar component to show the completion rate of a data indicator or use it as a loader element |
| group | components |
| toc | true |
| previous | Popover |
| previousLink | components/popover/ |
| next | Rating |
| nextLink | components/rating/ |
The progress bar component can be used as an indicator to show the completion rate of data sets or it can be used as an animated loader component. There are multiple sizes, colors, and styles available.
Use the following example of a progress bar element to show a completion rate of 45% by using an inline style and the utility classes from Tailwind CSS.
{{< example github="components/progress.md" show_dark=true >}}
You can also use different sizes by using various sizing utility classes from Flowbite and Tailwind CSS.
{{< example class="space-y-4" github="components/progress.md" show_dark=true >}}
Here is an example of using a progress bar with the label inside the bar.
{{< example github="components/progress.md" show_dark=true >}}
And this is an example of using a progress bar outside the bar.
{{< example github="components/progress.md" show_dark=true >}}
You can also apply any color using the bg-{color} utility classes from Tailwind CSS and Flowbite.
{{< example class="space-y-4" github="components/progress.md" show_dark=true >}}
{{< /example >}}