Skip to content

Spinner

Displays an animated loading spinner.

Examples

Default

vue
<Spinner />

Sizes

vue
<div class="flex items-center gap-4">
  <Spinner size="sm" />
  <Spinner size="default" />
  <Spinner size="lg" />
</div>

Props

Spinner

PropTypeDefaultDescription
classstring-Custom classes to apply to the spinner.
sizedefault | sm | lg | icondefaultThe size of the spinner.

Slots

Spinner

SlotDescription
defaultThe content of the spinner.