Small
.spinner--sm — dense toolbars and inline copy.
Standalone loading indicator — same language as the button busy spinner, usable inline.
Live
<span class="spinner spinner--sm" role="status" aria-label="Loading"></span>
<span class="spinner spinner--md" role="status" aria-label="Loading"></span>
import { Spinner } from 'caustica-design/core'
<Spinner size="sm" label="Loading" />
<Spinner size="md" label="Loading" />
.spinner--sm — dense toolbars and inline copy.
.spinner--md — default standalone size.
Pair with muted text for status lines.
Refreshing…role="status" and always provide
aria-label (or React label).
label or aria-label — no silent
unnamed spinner.
| Class | Description |
|---|---|
.spinner |
Base spinner ring. |
.spinner--sm |
Small size (0.85rem). |
.spinner--md |
Medium size (1.25rem) — default. |
From src/core/Spinner.tsx — requires label or
aria-label.
| Prop | Type | Default | Description |
|---|---|---|---|
size |
'sm' | 'md' |
'md' |
Visual size modifier. |
label |
string |
— | Accessible name (alternative to aria-label). |
aria-label |
string |
— | Accessible name when label is omitted. |
className |
string |
— | Merged onto the root. |