Display
Spinner <pm-spinner>
Loading spinner (announces as a status).
Sizes
Set with the size attribute; controls keep touch-sized targets on phones.
size="sm"size="md"size="lg"Tones
Set tone on the element, or data-tone on any ancestor to tone a whole area.
tone="accent"tone="secondary"tone="neutral"tone="success"tone="warning"tone="danger"tone="info"Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
label | string | Loading | Accessible name (and visible label where the component shows one). |
size | 'sm' | 'md' | 'lg' | — | Size: sm, md or lg (md when not set). |
Also accepts the contextual attributes tone, surface, radius, density, motion, elevation. They are inherited from ancestors' data-* attributes.