Spinner

A loading indicator. Rotates on the compositor and slows down under reduced motion.

Examples

Sizes

Show code
<Spinner size="md" />

Props

PropTypeDefaultDescription
size"sm" | "md" | "lg""md"Diameter: 1rem, 1.5rem, 2rem.
labelstring"Loading"Accessible name announced to screen readers via role=status.

The spinner exposes role="status" with the label as its accessible name, so assistive tech announces it when it appears.