Root Props
| Prop | Type | Default |
|---|---|---|
size | SpinnerSize | 3 |
| Visual size of the spinner. Maps to a scalable design token or type scale. Accepts values from 1 (smallest) to 11 (largest). | ||
variant | SpinnerVariant | 'primary' |
| Visual color variant of the spinner. | ||
ref | Ref<HTMLDivElement> | — |
| Ref to the spinner's root container. Useful for imperative DOM access or measurement. | ||
Also accepts all <div> attributes.
Child Parts
- None.
Spinneris a single exported primitive.
Types
SpinnerPropsSpinnerSizeSpinnerVariant
State Model
Spinnerhas no internal state beyond its perpetual animation.- Meaning comes from surrounding loading state in the parent UI.