# Blazor ProgressBar Overview

The <a href = "https://www.telerik.com/blazor-ui/progressbar" target = "_blank">Blazor ProgressBar component</a> tracks the execution of operations and displays what portion of it is completed. For very long tasks, you can also make it [indeterminate](https://www.telerik.com/blazor-ui/documentation/components/progressbar/indeterminate).

## Creating Blazor ProgressBar

1. Use the `<TelerikProgressBar>` tag.
2. Set its `Value` parameter to a `double` to denote how much is completed.

> caption ProgressBar with maximum and initial values

<demo metaUrl="client/progressbar/overview/example-2/" height="300"></demo>

## Label

The label is a representation of the current progress. [Depending on the theme, it renders inside or next to the ProgressBar](https://demos.telerik.com/blazor-ui/progressbar/overview) and by default shows the component `Value` with an appended percent sign `%`. The [ProgressBar allows customization of the label position and content](https://www.telerik.com/blazor-ui/documentation/components/progressbar/label). Use the label template to show the desired percent progress if the ProgressBar `Max` parameter is not `100`.

## Indeterminate State

In some scenarios the estimated time of completion is unknown or the progress cannot be strictly measured. The ProgressBar supports continuous animation that can cover these cases. [Read more about the ProgressBar Indeterminate State...](https://www.telerik.com/blazor-ui/documentation/components/progressbar/indeterminate)

## Responsive ProgressBar

The ProgressBar will resize with the parent element dimensions when you set its width to 100%:

<demo metaUrl="client/progressbar/overview/example-1/" height="300"></demo>

## ProgressBar Parameters

The ProgressBar provides the following features to further customize its behavior:

<style>
    .article table {
        table-layout: auto;
        word-break: normal;
    }
</style>

| Parameter     | Type and Default Value                              | Description                                                                                                                                                                                                                                                                                                                                            |
| ------------- | --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `Class`       | `string`                                            | The CSS class that will be rendered on the main wrapping element. You can use it to cascade styles more easily.                                                                                                                                                                                                                                        |
| `Max`         | `double` <br /> `100`                               | The maximum value of the ProgressBar. It must be greater than `0`.                                                                                                                                                                                                                                                                                     |
| `Value`       | `double`                                            | The value of the ProgressBar, which indicates the progress of the tracked process as a percentage. If `Max` is not `100` or `Value` is not a percent number, then use a [ProgressBar label template](https://www.telerik.com/blazor-ui/documentation/components/progressbar/label) to display the component value in the desired format and precision. |
| `Orientation` | `ProgressBarOrientation` enum <br /> (`Horizontal`) | The orientation of the ProgressBar. It can be `Horizontal` or `Vertical`.                                                                                                                                                                                                                                                                              |

## Next Steps

* [Customize the ProgressBar Label](https://www.telerik.com/blazor-ui/documentation/components/progressbar/label)

## See Also

* [Live Demo: ProgressBar](https://demos.telerik.com/blazor-ui/progressbar/overview)
* [Label](https://www.telerik.com/blazor-ui/documentation/components/progressbar/label)
* [Indeterminate state](https://www.telerik.com/blazor-ui/documentation/components/progressbar/indeterminate)
* [ProgressBar API Reference](https://www.telerik.com/blazor-ui/documentation/api/telerik.blazor.components.telerikprogressbar)
