Spinner
A spinner is a loading indicator that indicates that an action is being performed.
Import
import { Spinner } from "@aeonkit/react";Usage
Default
The default spinner.
Loading...
<Spinner />Color
Change the color of the spinner using the fill- utility classes.
Loading...
<Spinner className="fill-teal-500" />Size
Change the size of the spinner using the h- and w- utility classes.
Loading...
<Spinner className="fill-orange-500 h-16 w-16" />Animation Speed
Change the animation speed of the spinner using the duration- utility classes.
Loading...
<Spinner className="fill-blue-500 h-8 w-8 duration-300" />Props
API Interface: SpinnerProps