Spinner

A spinner component used to indicate loading or progress states in an application.

Usage

Default


<Spinner />

Props

Sortable data table
PropTypeDefaultDescription
sizenumber50Diameter of the spinner in pixels.
theme"primary" | "secondary" | "tertiary" | "quaternary" | "clear"Configured DefaultTheme color for the spinner.
state"" | "success" | "error" | "warning"-Visual state style for the spinner.
shadow"none" | "light" | "medium" | "strong" | "intense"Configured DefaultBox shadow applied to the spinner.
labelstring-Visually hidden label for accessibility (announced by screen readers).
classNamestring-Additional CSS class names to apply.
data-testidstring"spinner"Custom test ID for the root element.