Spinner
Live preview and documentation for the Spinner component.
Preview
componentPreview.loading
About
Loading indicator: a full ring with an angular gradient (soft tone → strong color) rotating continuously.
size:KasySpinnerSize.sm(16px),.md(24px, default), or.lg(32px).variant:KasySpinnerColor.primary(default),current(inherits the surrounding text color),success,warning, ordanger.color: overridesvariantwith an explicit color (the gradient's strong end).softColor: the gradient's soft end; defaults tocolormixed 80% with the surface.diameter: overridessizewith an exact pixel value (useful to fit a fixed slot, like inside a button).strokeWidth: stroke thickness; defaults to roughly 1/6 of the diameter.semanticsLabel: accessibility label (defaults to"Loading").
Respects the system's "reduce motion" setting (stays still when enabled).
Last updated on 08/23/2026

