Jone

Progress

A high-quality, unstyled React progress bar component that displays the status of a task that takes a long time.

Displays the status of a task that takes a long time.

Export data

Anatomy

Import the component and assemble its parts:

Anatomy
import { Progress } from '@base-ui/react/progress';

<Progress.Root>
  <Progress.Label />
  <Progress.Track>
    <Progress.Indicator />
  </Progress.Track>
  <Progress.Value />
</Progress.Root>;

API reference

Root

NameTypeDefaultDescription
formatOptionalIntl.NumberFormatOptions | undefinedOptions to format the value.
getAriaValueTextOptional((formattedValue: string | null, value: number | null) => string) | undefinedAccepts a function which returns a string value that provides a human-readable text alternative for the current value of the progress bar.
localeOptionalIntl.LocalesArgument | undefinedThe locale used by `Intl.NumberFormat` when formatting the value. Defaults to the user's runtime locale.
maxOptionalnumber | undefined100The maximum value.
minOptionalnumber | undefined0The minimum value.
valueRequirednumber | nullnullThe current value. The component is indeterminate when value is `null`.

On this page