On this page
Loading...
New markup in CoreUI v5
We’ve simplified the HTML structure for progress bars to improve accessibility while still maintaining backward compatibility with the previous structure.
New markup in CoreUI v5
We added a new stacked component to group multiple progress bars into a single stacked progress bar.
| name | description | type | default |
| ---- | ----------- | ---- | ------- |
| `thin` | Displays thin progress. | `boolean` | `false` |
| `white` | Change the default color to white. | `boolean` | `false` |
| `height` | Sets the height of the component. If you set that value the inner `c-progress-bar` will automatically resize accordingly.| `number` | |
| `animated` | Use to animate the stripes right to left via CSS3 animations. | `boolean` | `false` |
| `color` | Sets the color context of the component to one of CoreUI’s themed colors. | `string` | |
| `role` | Set default html role attribute. | `string` | `'progressbar'` |
| `value` | The percent to progress the ProgressBar. | `number` | `0` |
| `variant` | Set the progress bar variant to optional striped. | ``"striped"`` | |
---
### c-progress-bar
- for backward compatibility
#### Inputs
| name | description | type | default |
| ---- | ----------- | ---- | ------- |
| `animated` | Use to animate the stripes right to left via CSS3 animations. | `boolean` | `false` |
| `color` | Sets the color context of the component to one of CoreUI’s themed colors. | `string` | |
| `role` | Set default html role attribute. | `string` | `'progressbar'` |
| `value` | The percent to progress the ProgressBar. | `number` | `0` |
| `variant` | Set the progress bar variant to optional striped. | ``"striped"`` | |