Progress

Display progress relative to a limit or related to a task.

General

The basic Progress usage.

Custom Max

Modify the maximum value of progress.

Dynamic Colors

You can specify the color of the progress in any range.

Segmented

Split the bar in blocks with segments.

Circular

Use circular for a ring. The size follows width and scale.

Type

We prepared some different styles in advance.

Upload progress

Say what is being sent and how far it is, and change the type when it finishes.

APIs

Progress.Props

AttributeDescriptionTypeAccepted valuesDefault
valuecurrent valuenumber-0
maxmax valuenumber-100
fixedTopfix progress to topboolean-false
fixedBottomfix progress to bottomboolean-false
segmentssplit the bar in blocksnumber--
circularshow a ring instead of a barboolean-false
colorscustom colors{ [key: number]: string }--
typepredefined state typesProgressTypesProgressTypesdefault
...native propsProgressHTMLAttributes'aria-busy', ...-

ProgressTypes

type ProgressTypes =
  | 'default'
  | 'primary'
  | 'secondary'
  | 'success'
  | 'warning'
  | 'error'
  | 'info'
Edit this page on GitHub