Usage

Props

NameTypeRequiredDefaultDescription
centered
boolean
false

Spinner option to be centered. Use this prop if you need to center the spinner regardless of the height of its children.

since

11.3.0

children
ReactNode
false
className
string
false

Additional classNames

color
Color
false
Spinner color, one of the{' '} HSL Palette css strings
since

10.19.0

label
string
false

The spinner label, only displayed when used as an overlay

since

10.19.0

loading
boolean
false

The spinner will show if loading is true

since

10.19.0

sizefalse

The size of the spinner

since

10.19.0

style
CSSProperties
false

Additional CSS styles

variantfalse
deprecated

"variant" prop will be removed in a future version. Use "color" prop instead to set a spinner's color.

since

10.19.0

children

wrapped children will have an overlay when loading is true

label

size

variant