<Spinner className="size-4" />Size and colour come from className — the glyph uses currentColor, so a
role token tints it directly. Inside a button, prefer the button's own
loading prop, which adds the disabled and aria-busy semantics too.
API
Plus every <svg> prop. Source: spinner/components/spinner.tsx.