> For the complete documentation index, see [llms.txt](https://docs.heisenware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.heisenware.com/app-builder/build-frontend/widgets/display-widgets/progress-bar.md).

# Progress bar

The progress bar widget visualizes the operational status of a task or a specific metric within a defined range. It displays a horizontal bar that fills from left to right to represent progress as a percentage in your Apps.

<figure><img src="/files/bUHdQ5tdFrQOM7UyReK3" alt="" width="375"><figcaption><p>A progress bar in Heisenware</p></figcaption></figure>

## Data binding

### Function output or modifier to widget

| **Property** | **Description**                                                                     | **Type** |
| ------------ | ----------------------------------------------------------------------------------- | -------- |
| `value`      | Sets the current numeric value determining how much of the bar is filled.           | number   |
| `min`        | Sets the minimum boundary value corresponding to 0% progress.                       | number   |
| `max`        | Sets the maximum boundary value corresponding to 100% progress.                     | number   |
| `showStatus` | Toggles the layout visibility of the percentage text label inside the progress bar. | boolean  |

## Configuration

Set the widget's defaults in the settings panel.

### General settings

| **Property** | **Label**   | **Description**                                                   | **Type** |
| ------------ | ----------- | ----------------------------------------------------------------- | -------- |
| `min`        | Minimum     | The default minimum value of the progress bar, representing 0%.   | integer  |
| `max`        | Maximum     | The default maximum value of the progress bar, representing 100%. | integer  |
| `showStatus` | Show status | Toggles the visibility of the percentage text label when checked. | boolean  |

## Tips and tricks

{% hint style="info" %}

#### Percentage calculation and theme styling

The widget automatically calculates the fill percentage using the formula: `(value * 100) / (max - min)`.

The progress bar fill color matches your active theme accent color configuration and cannot be modified independently.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.heisenware.com/app-builder/build-frontend/widgets/display-widgets/progress-bar.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
