RUI.next

Feedback
Progress

Progress

Progress Bar/Circle indicates the task's progress.

<Progress percent={20} position="normal" />
<Progress percent={20} position="normal" />

Example

Basic usage of Progress component.

For ProgressBar, position fixed is at the very top positon just like nprogress.

ProgressCircle mode
50%
ProgressBar mode


Click to add percent

API

PropertiesDescriptionTypeDefault
percentpercent value of progressnumber0
positionposition of progress bar, optional: fixed, normalstringfixed
unfilledwhether to fill unfinished part of progressbooleantrue
stylethe style of containerObject{}
barStylethe style of barObject{}
childrenthe customized informationReact.ReactNode-
sizethe width and height of the canvas of ProgressCirclenumber50px
trackWidththe width of the track of ProgressCirclenumber3px
modethe mode of progress, optional: bar, circlestringbar