Skip to content

Spinner

Spinners indicate an active loading or processing state. Available in multiple sizes and colors for flexible integration.

Sizes

Five sizes: xs, sm, md (default), lg, and xl.

xsxs
smsm
mdmd
lglg
xlxl

Colors

Three color options: primary, white (on dark background), and current (inherits text color).

Loading…primary
Loading…
white
Loading…
current

In Buttons

Use Spinner as iconLeft in Button for interactive loading states. Click each button to trigger a 2-second simulation.

Real-world: Loading States

Toggle between a spinner-driven skeleton and loaded card content.

Loading…
Loading…Fetching recipe…
Loading…
Loading…
Loading…
PropTypeDefaultDescription
size"xs" | "sm" | "md" | "lg" | "xl""md"Diameter of the spinner SVG.
color"primary" | "white" | "current""primary"Stroke color. Use "current" to inherit the surrounding text color.
labelstring"Loading…"Accessible label read by screen readers (visually hidden).

Related Components