Spinner
A centered loading indicator that fills the available space by default.
Installation
npx alixan-ui-nuxt add spinnerUsage
<template>
<Spinner />
</template>Size
<template>
<div class="w-full grid grid-cols-3 justify-around">
<Spinner size="sm" />
<Spinner />
<Spinner size="lg" />
</div>
</template>API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| size | 'sm' | 'md' | 'lg' | 'md' | Controls spinner diameter and border width. |