1. Blade Components
  2. Spinner

Spinner

Indicate an action is running in the background after an action by the user.

Usage

<x-spinner />

Component API

Attribute Default Description
size null string || null
Possible values null, sm, or lg.

Size

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>