Spinner

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

Usage & Examples

Default

default.tsx

<Spinner />

Props API

15 props
Columns
Spinner props API
Default
Description
aria-busybooleanNoariatrueWhether the related region is busy. Defaults to true.
aria-describedbystringNoariaID of element(s) that describe the spinner.
aria-labelstringNoariaAccessible label announced by screen readers. Falls back to `label`, then "Loading".
aria-labelledbystringNoariaID of element(s) that label the spinner. Takes precedence over `aria-label` when provided.
aria-live"off" | "polite" | "assertive"Noaria"polite"ARIA live region politeness. Defaults to "polite".
classNamestringNostylingAdditional class names for styling customization.
data-testidstringNotestingBackward-compatible alias for test ID attributes.
glassbooleanNopropsconfigured default glass setting (fallback: false)Applies a translucent frosted-glass surface behind the spinner.
labelstringNopropsOptional visible label for the spinner.
roleReact.AriaRoleNoaria"status"Optional ARIA role. Defaults to "status".
shadowShadowTypeNostylingconfigured default shadow (fallback: "light")Shadow style for the spinner. One of: "none" | "light" | "medium" | "strong" | "intense"
sizenumberNostyling50The size of the spinner (in pixels).