Spinner

Displays a progress indicator for indeterminate tasks.

PropTypeDefault
sizeResponsive<"1" | "2" | "3">"2"

This component is based on the span element and also supports common margin props m, mx, my, ml, mr, mt, mb. View source

If the task’s progress is known or its duration can be estimated, use the Progress component.

Use the size prop to control the size of the spinner. You can change the spinner size across breakpoints using the object syntax.

The spinner sizes match available form element sizes in the design system.