Spin
A loading indicator that can be used standalone or wrap content with an overlaid mask.
Basic usage
size supports five tiers: xs / small / medium (default) / large / xl; the old abbreviations sm / md / lg remain supported.
Five sizes
Legacy abbreviations (sm / md / lg)
Wrapping content
Wrapping content
Content area while loading
API
Attributes
| Attribute | Description | Type | Default |
|---|---|---|---|
size | Indicator size: xs / small / medium (default) / large / xl; legacy abbreviations sm/md/lg remain supported | string | md |
spinning | Whether loading; when set, wraps content with an overlaid mask | boolean | — |
Slots
| Name | Description |
|---|---|
| default | — |
The indicator uses role="status".