Skip to content
Preview
Indexing files 12%

Spinner

size
"xs" | "sm" | "md" | "lg" | "text"
Default: "md"
10 / 12 / 14 / 16 px, or text: in an icon's slot, the size and stroke of the icon of the text style it stands in.
label
string
Accessible name ("Loading"). Omit when adjacent text already says what is happening.
arc
"long" | "half"
Default: "long"
The arc: long (about 270 degrees) or half (about 180, a thinking step's live node).
rootStyle
RootStyle<SpinnerKnobs>
Typed StyleX override: layout and the --spinner-* knobs.

Rest props go to <span> props and render.

State machine

PreviewAn arc shows work in progress.