Spinner indicates a progress of an action that can't be measured or estimated.
The default variant renders a circular progress indicator.
Use the squares variant for a sliding squares animation.
Extra small
Small
Medium (Default)
Large
Slow
Normal
Fast
Extra small
Small
Medium (Default)
Large
Slow
Normal
Fast
If you want the spinner to match surrounding text, you can set the color to currentColor.
Inherits margin props.
| Name | Default | Description |
|---|---|---|
size | "md" | "xs" | "sm" | "md" | "lg"Spinner size. |
speed | "normal" | "slow" | "normal" | "fast"Spinner speed. |
variant | "default" | "default" | "squares"Spinner variant determines the animation style. |
color | "primary.base" | "currentColor" | "primary.base"You can set the color to `currentColor` if you want the spinner to match surrounding text. |