Skip to main content

Introducing Starwind Pro with free access to 35+ Premium Blocks

Spinner

Installation

Usage

Custom Size

Custom Color

In Button

API Reference

Spinner

An accessible loading spinner component with customizable styling.

PropTypeDefault
classstring-
<Spinner class="size-6 text-primary" />

Additional Notes:

  • Use Tailwind classes to control size with size-* utilities
  • Use Tailwind color classes to change the spinner color

Changelog

v1.0.0

  • Initial release with starwind v1.10.0