Spinner

PreviousNext

Loading spinner indicator with customizable size, color, and animation speed.

Basic Usage

Sizes

Control the size of the spinner using Tailwind size utilities.

In Buttons

Use spinners inside buttons to indicate loading or processing states.

Centered

Center the spinner within a container.

API Reference

Spinner Props

The Spinner component accepts all standard SVG element props:

PropTypeDefaultDescription
classNamestring-Additional CSS classes for customization
rolestring"status"ARIA role for accessibility
aria-labelstring"Loading"Accessible label for screen readers