Spinner
Rotating circular loader. Five sizes (xs, sm, md, lg, xl), colour follows currentColor by default so you can drop it into Button or Badge without wiring a prop.
Usage
import { Spinner } from '@bwo-ui/react';
<Button disabled>
<Spinner size="sm" /> Saving…
</Button>
<Spinner color="#ff481f" size="lg" strokeWidth={3} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
size | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'md' | Width + height preset. |
color | string | 'currentColor' | CSS colour for the stroke. |
strokeWidth | number | 2 | Stroke thickness in px. |
label | string | 'Loading' | Accessible label (aria-label). |