Foundation
Spinner
Indeterminate progress ring. Uses currentColor so it tints to the surrounding text color.
Examples
Sizes
<Spinner size="sm" />
<Spinner />
<Spinner size="lg" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
size | 'sm' | 'md' | 'lg' | 'md' | Diameter — 12 / 16 / 24 px. |
label | string | 'Loading' | Accessible label for screen readers. |
class | string | — | Extra classes; merged via cn(). |
Install
CLI
npx @a3tai/mittsu add spinner