Spinner
atomsInline loading indicator: the spinning loader glyph by default, or a pure-CSS pictogram variant drawn in currentColor inside a 1em box.
Loading states in context
no size, so the spinner tracks the text it sits in; label announces the busy state, or set it undefined when the parent already does.
Syncing 3 conversations…
Fetching logs Large text, large spinner
Variants
variant icon, arc, dots, orbit, pulse, bars, grid, clock, bounce, comet, breath, morph and sweep; clock and bounce read best at 20px and up.
icon
arc
dots
orbit
pulse
bars
grid
clock
bounce
comet
breath
morph
sweep
Accent loaders in context
comet, breath, morph and sweep inherit the accent from the surrounding Text; each pairs a status line with the state it waits on.
Syncing library…
Fetching 42 items
Rendering preview
Connecting to server
Props
| Prop | Type | Default | Description |
|---|---|---|---|
variant | SpinnerVariant | 'icon' | |
size | number | — | Explicit pixel size. Omit to track the surrounding text (1em). |
label | string | 'Loading' | AT label announcing the busy state. Set to undefined to make the spinner decorative when an ancestor already conveys the loading state. |
class | string | '' | |
style | string | '' |