Spinner
Indicate an action is running in the background after an action by the user.
<x-spinner />
<x-spinner />
| Attribute |
Default |
Description |
size |
null |
string || null Possible values null, sm, or lg. |
Control the spinner size by supplying the size="" attribute.
<div class="flex items-center justify-between space-x-2">
<x-spinner size="lg" />
<x-spinner />
<x-spinner size="sm" />
</div>
<div class="flex items-center justify-between space-x-2">
<x-spinner size="lg" />
<x-spinner />
<x-spinner size="sm" />
</div>