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 | |
bg | string | |
width | string | |
height | string | |
rounded | string | |
classes | string | |
labelBase | string | |
labelText | string | |
labelClasses | string | |
trackBase | string | |
trackBg | string | |
trackRounded | string | |
trackClasses | string | |
meterBase | string | |
meterBg | string | |
meterRounded | string | |
meterTransition | string | |
meterAnimate | string | |
meterClasses | string | |
children | Snippet<[]> | |
ids | Partial<{ root: string; track: string; label: string; circle: string; }> | |
value | number | |
min | number | |
max | number | |
translations | IntlTranslations | |
dir | "ltr" | "rtl" | |
getRootNode | () => ShadowRoot | Node | Document | |
orientation | Orientation | |