Feedback

CircularProgress

Circular loading indicator. Indeterminate spins; determinate fills to a value. Primary or secondary color, two sizes.

Examples

Sizes
Loading preview
<CircularProgress size="small" />
<CircularProgress />

API

PropTypeDefaultDescription
variant'indeterminate' | 'determinate'indeterminateSpinner or value-based fill.
valuenumbernoneProgress 0 to 100 for the determinate variant.
size'small' | 'medium'mediumDiameter: small 20px, medium 40px.
color'primary' | 'secondary'primaryColor treatment.

Guidelines

Do

  • Pair with an accessible label when standalone.
  • Use determinate when progress is known.

Avoid

  • Do not block the whole screen for short waits; prefer inline indicators.

Import from @hub/ds-components. Interactive playground: Storybook. Figma Code Connect node 261-134.