Spinner
A compact loading indicator for inline, overlay, and fallback loading states.
Spinner
Use Spinner for short loading states inside buttons, panels, overlays, or empty-state variants.
Basic Usage
Spinner
Demo will load when visible.
Sizes
Spinner sizes
Demo will load when visible.
Visibility Toggle (v-if vs visible)
Toggle
Demo will load when visible.
API
Props
| Prop | Type | Default | Description |
|---|---|---|---|
size | number | 16 | Spinner width and height in pixels. |
strokeWidth | number | 2 | Stroke width used by the ring and SVG fallback. |
fallback | boolean | false | Renders the SVG fallback spinner instead of the default animated shape. |
visible | boolean | true | Shows or hides the spinner with the built-in transition. |