```html```

Descriptive Progress Bar

Progress: 50%
Processing... 50% Step 2 of 4: Analyzing data

About Progress Bar

Progress bars are used to show the completion progress of a task or process. They provide visual feedback to users about the status of ongoing operations.

Base

Basic Progress Bar

Progress: 50%

States

0% complete

Progress: 0%

25% complete

Progress: 25%

50% complete

Progress: 50%

75% complete

Progress: 75%

100% complete

Progress: 100%

Success Color

Progress: 100% Complete

Examples

Descriptive Progress Bar

Progress: 75%
Upload in progress... 75% 3 of 4 files uploaded

Vertical

Vertical Progress Bar

Progress: 50%

Vertical States

0% complete

Progress: 0%

25% complete

Progress: 25%

50% complete

Progress: 50%

75% complete

Progress: 75%

100% complete

Progress: 100%

Modifiers

Radius

Progress: 60%

Thickness

X-Small
Progress: 40%
Small
Progress: 50%
Medium
Progress: 60%
Large
Progress: 70%

Interactive Demo

Progress: 0%
Interactive Demo 0% Click buttons to change progress

Component API

Basic Progress Bar Structure

<div class="slds-progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="50"> <span class="slds-progress-bar__value" style="width: 50%;"> <span class="slds-assistive-text">Progress: 50%</span> </span></div>

Descriptive Progress Bar Structure

<div class="slds-progress-bar slds-progress-bar_descriptive" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="75" aria-labelledby="progress-label" aria-describedby="progress-description"> <span class="slds-progress-bar__value" style="width: 75%;"> <span class="slds-assistive-text">Progress: 75%</span> </span> <div class="slds-progress-bar__labels"> <span class="slds-progress-bar__label" id="progress-label"> <span class="slds-progress-bar__label-left">Processing...</span> <span class="slds-progress-bar__label-right">75%</span> </span> <span class="slds-progress-bar__description" id="progress-description"> Step 3 of 4: Finalizing </span> </div></div>

Styling Hooks Overview

The progress bar component supports various styling hooks for customization. Key classes include:

  • slds-progress-bar - Main progress bar container
  • slds-progress-bar__value - Progress indicator
  • slds-progress-bar_descriptive - Descriptive variant
  • slds-progress-bar_vertical - Vertical orientation
  • slds-progress-bar_circular - Rounded corners
  • slds-progress-bar_success - Success state
  • slds-progress-bar_x-small, slds-progress-bar_small, slds-progress-bar_medium, slds-progress-bar_large - Size variants