Primitives
Primitive

Progress

Visual indicator showing completion progress of a task or operation

A progress bar shows how far along a task or operation is, from a starting value to completion. Use it for uploads, downloads, or any determinate loading; for a static reading within a fixed range, use Meter instead.

Preview

x

Installation

Usage

Composition

Examples

Different Sizes

Use size to set the track height and text size.

Small
x
Medium
x
Large
x
ValueDescription
smThin track with extra-small text.
mdThe default track and text.
lgThick track with larger text.

Custom Colors

Pass a className to ProgressIndicator to recolor the filled bar.

Primary (Default)
x
Success
x
Warning
x
Danger
x

With Label

Add ProgressLabel and ProgressValue to caption the bar.

File Upload
x
InstallationComplete
x

Dynamic Progress

Set animated on ProgressRoot to ease the indicator between values as they update.

Upload Progress20%
x

File Upload

Drive value from an upload's progress; the bar shows a completed state when it reaches max.

Uploading document.pdf0%
x

API Reference

The Progress component is built on top of Base UI's Progress. All Base UI props are supported. The documentation below only covers custom props and modified defaults specific to our implementation.

For the complete Base UI API, see the Base UI Progress documentation.

Props

ProgressRoot

Prop

ProgressTrack

Prop

ProgressValue

Prop