Skip to content

Progress

Free

A bar that fills as a task moves on, such as an upload or an import. It shows a label and the percent, or moves back and forth when the size is not known.

  • Base UI
  • React 19
  • Tailwind CSS 4

Added Nov 8, 2026 · MIT + Commons Clause

Playground

Loading the preview

Props

Put the label, the value, and the track inside Progress. Pass value={null} when the size of the task is not known.

upload-progress.tsx

Progress

<div>
PropTypeDefaultDescription
classNamestring—
glowboolean—A soft halo in the fill color (glow, @gelatin-ui/glow). Default: false.
tone"destructive""info""neutral""success""warning""neutral"The fill color: default (primary), or a status for a task whose state has a meaning: success done, warning slow or nearly full, info a neutral step, destructive failed. Color is never the only signal: say the state in the label or value.
From Base UIProgress.RootBase UI docs
aria-valuetextstring—A string value that provides a user-friendly name for aria-valuenow, the current value of the progress bar.
formatNumberFormatOptions—Options to format the value.
getAriaValueText—Accepts a function which returns a string value that provides a human-readable text alternative for the current value of the progress bar.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

ProgressLabel

<div>
PropTypeDefaultDescription
classNamestring—
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

ProgressValue

<span>
PropTypeDefaultDescription
classNamestring—
From Base UIProgress.ValueBase UI docs
children—
render—Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render.
style—Style applied to the element, or a function that returns a style object based on the component's state.
...props<span> attributes—Every other attribute goes to the <span>, with a ref.

ProgressTrack

<div>
PropTypeDefaultDescription
thickness"thick""thin""thin"
rounded"default""full"—
size"default""lg""sm""xs"—
classNamestring—
variant"bar""dots""segments""steps""ticks""bar"bar (default): one fill. The others draw a row of segments.
segmentsnumber—The segment count of a segmented look. Default: ticks 30, segments 10, steps 5, dots 20.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

ProgressIndicator

<div>
PropTypeDefaultDescription
classNamestring—
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Use it for a task that moves toward done: an upload, an import, a long save.
  • Use value={null} while the size of the task is not known.
  • Use tone when the state has a meaning, and say the same state in the label or value.
  • Use variant ticks, segments, steps, or dots on ProgressTrack for a row of cells.
  • For a value at rest, such as disk use, use a Meter.
  • For a wait inside a button, use loading on the Button.
  • For a task in a small round shape, use a Circular Progress.

It is a Base UI Progress with the progressbar role. ProgressLabel names it; with no label, pass aria-label.

The indeterminate text from Base UI is English. In another language, pass getAriaValueText.

Pass locale on a server-rendered page, so the digits match after hydration.

Value
none · the fill takes each new width at once
  1. AddedProgress.
Open the release