Spinner
Shows that work is going on, for an unknown time, in the colour of the text around it.
Stability: experimental
Props
| Prop | Type | Default | Means |
|---|---|---|---|
size | "sm" | "md" | "lg" | md | 16, 24 or 36 pixels. |
label | string | Loading | What is happening, for assistive technology. |
States
| State | Looks like |
|---|---|
spinning | A three-quarter ring turning once every 700 ms. |
Accessibility
| role | status |
| name | The label prop. |
| focus | Never focused. |
| notes | Announced politely when it appears. |
Theme tokens
color.ink radius.full
Example
<Spinner label="Syncing" />