Spinners
Spinner component with five sizes, six colors and a transparent track, accessible for screen readers.
How to use it
Run npx @blossomui/react add spinner, or copy src/components/UI/Spinners/Spinner.tsx into your React project and import it.
import { Spinner } from './components/ui/Spinner'Props
SpinnerProps
| Prop | Type | Description |
|---|---|---|
| size | SpinnerSize | |
| color | SpinnerColor | (string & {}) | A preset, `accent` for the brand color or any CSS color. |
| transparent | boolean | Hide the track so only the moving part is visible. |
| label | string | Text read by screen readers. |