# AUI Progress Bar

## Description

The AUI Progress Bar can also be a useful visual component on your page even though as a static display. However, with the ID parameter you can also change the progress via an external Javascript if you like.

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

## Adding the Macro

1. Edit your page.
2. Select “+” => Other macros
3. Type in “aui” in the Search box
4. Select the “AUI Progress Bar” macro

## Macro Options

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

Note: The progress bar will not show in the preview section. Save the page to see the result.

### **ID**

Enter a unique ID for this object on your page. The macro is not using it though. But you can use it to address the progress bar with an external Javascript.

Using the Confluence jQuery implementation you can adjust the progress bar like this:

```javascript
AJS.progressBars.update("#my-progress-bar", 0.75);
```

### **Progress**

Enter the progress in percent here, e.g 32.

### **Width**

The progress bar will adjust its width to the parent element. It will usually expand over the width of your page. You can enter a fixed width here, e.g. 400px.

### **Height**

This parameter specifies the height of the progress bar.


---

# Agent Instructions: 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:

```
GET https://lewe.gitbook.io/html-and-aui-toolkit-for-confluence/aui-macros/aui-progress-bar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
