CircularProgress
Progress indicators commonly known as spinners, express an unspecified wait time or display the length of a process.
Progress indicators inform users about the status of ongoing processes, such as loading an app, submitting a form, or saving updates
- Determinate indicators display how long an operation will take.
- Indeterminate indicators visualize an unspecified wait time.
Basic CircularProgress
Preview
Usage
import { CircularProgress } from 'archi-ui'
<CircularProgress />
Color
Use color
prop to apply different colors for component.
Preview
Variant
The CircularProgress
comes with two variants: indeterminate(default), determinate.
Indeterminate
Preview
Determinate
Preview
Determinate with Label
Preview
0%
Size
Use size
prop to change the size of the component.
Preview
CircularProgress API
API reference docs for the React CircularProgress component.
Props
Name | Type | Default | Description |
---|---|---|---|
className | string | - | Override or extend the styles applied to the component. |
variant | 'determinate' | 'indeterminate' | 'indeterminate' | The variant to use. Use indeterminate when there is no progress value. |
size | 'lg' | 'md' | 'sm' | 'lg' | The size of the component. |
color | 'default' | 'primary' | 'secondary' | 'info' | 'warning' | 'success' | 'error' | 'primary' | The color of the component. |
thickness | number | '3.6' | The thickness of the circle. |
value | number | 0 | The value of the progress indicator for the determinate and buffer variants. Value between 0 and 100. |
Last updated on