Spinner
A soft SVG loading indicator with a gentle rotation. Three preset sizes and an accessible label for screen readers.
Loading
smLoading
mdLoading
lgInstallation
npm install @bloomkit/reactUsage
import { Spinner } from "@bloomkit/react";
<Spinner />Sizes
<Spinner size="sm" />
<Spinner size="md" />
<Spinner size="lg" />With accessible label
Change the announced label for screen readers — useful when you want more specific context than the default "Loading".
<Spinner size="md" label="Saving your changes..." />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| size | "sm" | "md" | "lg" | "md" | Pixel size (16 / 24 / 40) |
| label | string | "Loading" | Accessible label announced by screen readers |
| className | string | "" | Additional Tailwind classes |