Progress - Skeleton

  1. components
  2. progress
  3. react

Progress

An indicator showing the progress or completion of a task.

50%

Colors

Set the color using the meterBg prop.

Height

Set the height using the height prop.

Indeterminate

An indeterminate animation will be shown when the value is set to null.

Custom Animations

A custom indeterminate animation can be set by providing an animation class to the meterAnimate prop.


Native Alternative

A native progress element is available cross browser, but does not support indeterminate animations.

API Reference

Progress

Property Type Description
base
string
Set root base classes
bg
string
Set root background classes
width
string
Set root width classes
height
string
Set root height classes
rounded
string
Set root rounded classes
classes
string
Set root arbitrary classes
labelBase
string
Set label base classes.
labelText
string
Set label text classes.
labelClasses
string
Set label classes.
trackBase
string
Set the track base classes.
trackBg
string
Set the track background classes.
trackRounded
string
Set the track border radius classes.
trackClasses
string
Set arbitrary track classes.
meterBase
string
Set meter base classes.
meterBg
string
Set meter bg classes
meterRounded
string
Set meter rounded classes.
meterTransition
string
Set meter transition classes.
meterAnimate
string
Set meter animation classes for indeterminate mode. (value === undefined)
meterClasses
string
Set meter arbitrary classes.
label
ReactNode
Set the label
children
ReactNode
ids
The ids of the elements in the progress bar. Useful for composition.
value
number
The current value of the progress bar.
Default: 50
min
number
The minimum allowed value of the progress bar.
Default: 0
max
number
The maximum allowed value of the progress bar.
Default: 100
translations
The localized messages to use.
dir
"ltr" | "rtl"
The document's text/writing direction.
Default: "ltr"
getRootNode
A root node to correctly resolve document in custom environments. E.x.: Iframes, Electron.
orientation
Orientation
The orientation of the element.
Default: "horizontal"