Feedback
Spinner
An animated loading spinner in three sizes with a built-in screen-reader label.
An animated loading spinner with a built-in, screen-reader-only "Loading…" label. It comes in three sizes and inherits the muted foreground color, so it sits naturally inside buttons, cards, and inline text.
Import
import { Spinner } from "@yuhuanowo/yunui";
Sizes
Sizes
Loading...
Loading...
Loading...
Inline with text
Inline
Loading...
Loading…Props
| Prop | Type | Default | Description |
|---|---|---|---|
| size | "sm" | "md" | "lg" | md | Size: `sm` (16px), `md` (24px, default), or `lg` (32px). |