--- title: Progress path: components/progress status: New source: 'https://github.com/primer/css/tree/master/src/progress' bundle: progress --- Use progress components to visualize task completion. The `Progress` class adds a background color and aligns its children horizontally with flexbox. The children should be individually colored with [background utilities](/utilities/colors#background-colors) and sized with inline `width` styles in percentages. Overflow is hidden, so children that overflow will be clipped. ```html live ``` ## Large progress Large progress bars are slightly taller than the default. ```html live ``` ## Small progress Large progress bars are shorter than the default. ```html live ``` ## Inline progress For inline progress indicators, use the `Progress` and `d-inline-flex` with an inline element such as `` and add a custom `width` style: ```html live 4 of 16
``` ## Accessibility In cases where it's not possible to describe the progress in text, provide an `aria-label` attribute that does so: ```html live
``` ## Progress with multiple values To show the progress of tasks in multiple states (such as "done", "in progress", and "open"), use distinct background color utilities and give each one a percentage width proportional to the total number. Children are stacked from left to right, so if your widths add up to 100%, your bars will too. ```html live
```