name: Progress bar SpectrumSiteSlug: https://spectrum.adobe.com/page/progress-bar/ status: Verified id: progressbar-m sections: - name: Migration Guide description: | ### Component renamed Bar loader is now known as Progress bar. Replace all `.spectrum-BarLoader*` classnames with `.spectrum-ProgressBar*`. ### T-shirt sizing Progress bar now supports t-shirt sizing and requires that you specify the size of button by adding a `.spectrum-ProgressBar--size*` class. ### Size classnames changed Previous size classnames map as follows: | Previous size classname | New size classname | | ------------------------------- | --------------------------------- | | `.spectrum-ProgressBar--small` | `.spectrum-ProgressBar--sizeS` | | `.spectrum-ProgressBar--large` | `.spectrum-ProgressBar--sizeM` | ### Label and percentage now use Field Label Progress bar now uses [Field label](fieldlabel.html) for its label and percentage. Add the appropriately sized Field label to match the t-shirt size of the Progress bar. examples: - id: progressbar-m name: Sizing markup: |

S

Loading
50%

M (default)

Loading
50%

L

Loading
50%

XL

Loading
50%
- id: progressbar-m name: Top label (default) markup: |
Loading
50%
- id: progressbar-m name: Side label markup: |
Loading
50%
- id: progressbar-m-over-background name: Over Background markup: |
Loading
50%
- id: progressbar-indeterminate-m name: Indeterminate markup: |
- id: progressbar-indeterminate-m name: Indeterminate (with label) markup: |
Loading
- id: progressbar-m name: Custom width markup: |
Loading
50%
- id: progressbar-m name: Custom width (side label) markup: |
Loading
50%