Skip to content
Components

Spinner

Accessible loading indicator for pending buttons, panels, and inline waits.

Composition

Pending indicator

  • <Spinner />

Installation

The Control UI source installs this primitive from src/registry/sources/control-ui/ui/spinner.tsx.

Registry command
See registry manifest

Dependencies

Effectssrc/registry/sources/control-ui/effects.cssSupport

Raw code

Primary installed source

src/registry/sources/control-ui/ui/spinner.tsx

Knobs

Typed custom properties the recipe paints with. Set one on the root — style, a utility class, or a skin — and every slot inherits it.

--cui-spinner-* · 2 knobsHow the cascade resolves
--cui-spinner-foreground<color>var(--muted-foreground)
--cui-spinner-animation-duration<time>var(--duration-loop)