> For the complete documentation index, see [llms.txt](https://lewe.gitbook.io/lewe-bootstrap-visuals/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lewe.gitbook.io/lewe-bootstrap-visuals/shortcodes/progress-bar.md).

# Progress Bar

The Bootstrap progress bar is an attractive way to show the progress of a process. The shortcode supports and ID parameter so you can address it via Javascript to change the progress by changing its width style to a different percent value.

## Examples

{% code overflow="wrap" %}

```
[bsv-progress]
```

{% endcode %}

<figure><img src="/files/2af3b9GxdNpbedATxoGr" alt=""><figcaption></figcaption></figure>

{% code overflow="wrap" %}

```
[bsv-progress style="danger" striped="yes" width="320px" progress="43" id="pb1234"]
```

{% endcode %}

<figure><img src="/files/evbDdjFpvVvFb9Yo2rgy" alt=""><figcaption></figcaption></figure>

## Format

{% code overflow="wrap" %}

```
[bsv-progress parameter="value" ...]
```

{% endcode %}

## Parameters

| Parameter | Description                                                                                                                                                                             | Default    |
| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
| animated  | Animated the progress bar. Only works when striped=”yes”                                                                                                                                | no         |
| id        | Element ID. Can be used to address the percentage via Javascript. Must be unique on the page.                                                                                           | *no value* |
| progress  | The progress in percent, e.g. 75                                                                                                                                                        | 75         |
| striped   | Display as a striped propgress bar.                                                                                                                                                     | no         |
| style     | <p>Defines the Bootstrap style. Supported values:</p><ul><li>danger</li><li>dark</li><li>info</li><li>light</li><li>primary</li><li>secondary</li><li>success</li><li>warning</li></ul> | primary    |
| width     | Here you can specify a custom width in px or %. The default is 100% so the progress bar will occupy the whole width of the parent element.                                              | 100%       |


---

# 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://lewe.gitbook.io/lewe-bootstrap-visuals/shortcodes/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.
