Circular Progress
stableA circular progress indicator with determinate and indeterminate modes.
Basic usage
Examples
Sized with label
Customize track size and embed a label inside the circle.
Progress states
Use determinate values for known work and null for indeterminate loading.
Semantic colors
Color prop sets the fill color of the circular progress arc.
Features
- Determinate + indeterminate.
- Configurable size and stroke.
Installation
bash
pnpm dlx structyl add circular-progressAPI Reference
CircularProgress
A circular progress / spinner.
| Prop | Type | Default |
|---|---|---|
| value | number | nullProgress value; null for indeterminate. | — |
| max | numberMaximum value. | 100 |
| size | numberDiameter in px. | 40 |
| strokeWidth | numberRing thickness. | 4 |