Progress
Native Solid 2 fork. Original documentation and designs © WorkOS; historical posts retain their original context.
API Reference
This component inherits props from the Progress primitive and supports common margin props.
Examples
Size
Use the size prop to control the size.
Variant
Use the variant prop to control the visual style.
Color
Use the color prop to assign a specific color.
High-contrast
Use the highContrast prop to increase color contrast with the background.
Radius
Use the radius prop to assign a specific radius value.
With controlled value
Use the value prop to provide a precise indication of the task progress.
With custom duration
Use the duration prop to indicate an approximate duration of an indeterminate task. Once the duration times out, the progress bar will start an indeterminate animation.
When an approximate duration can be estimated, the Progress component is still useful over Spinner, which doesn’t provide any visual cues towards the progress of the task.