Skip to main content
In Review

Progress Bar

Use the progress bar component to visually represent the progress of a task or operation.

Variants

Progress Bar

  <div class="gi-progress-bar-container">
    <div role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" aria-labelledby="progress-bar-:S1:" aria-label="Progress bar" class="gi-progress-bar gi-h-2">
      <div class="gi-h-2 gi-bg-gray-700" style="width: 50%;">
      </div>
    </div>
  </div>
  {{ govieProgressBar({"value": 50 }) }}
  import { ProgressBar } from '@govie-ds/react';

  <ProgressBar value={50} />

Indeterminate Progress Bar

Loading...
<div class="gi-progress-bar-container">
  <div role="progressbar" aria-label="Progress bar" data-testid="progress-bar" class="gi-progress-bar gi-h-2">
    <div class="gi-h-2 gi-bg-gray-700 gi-progress-bar-indeterminate"></div>
  </div>
  <span>Loading...</span>
</div>
  {{ govieProgressBar({"label": "Loading...", "isIndeterminate": true }) }}
  import { ProgressBar } from '@govie-ds/react';

  <ProgressBar isIndeterminate label="Loading..." />

Usage

Best Practices

When to use this component

When not to use this component

Accessibility

Status

Figma Library
Considering
Local HTML
N/A
Global HTML
Beta
Global React
Beta