feedback
spinner
a small arc going round, for waits too short or too vague for a progress bar. it takes the text colour around it.
installation
new to blurrow? this sets up your project in one go: the package, the styles and the font. already done it? skip straight to usage. the installation page has the details.
bash
npx @blurrow/ui init›rather own the code? copy the source instead
let the cli copy it, along with anything it needs:
bash
npx @blurrow/ui add spinneror by hand: drop this file into components/ui and import from there.
usage
tsx
import { Spinner } from "@blurrow/ui";tsx
<Spinner label="loading" />examples
in a button
props
straight from the source, so they're always up to date.
propsts
type SpinnerSize = "sm" | "md" | "lg";
interface SpinnerProps { size?: SpinnerSize | number; /** Read out to screen readers; the spinner is silent without it */ label?: string; className?: string;}