Color Schemes for Spinner
are not implemented in the default theme. You can extend the theme to implement them.
Spinner
Spinners provide a visual cue that an action is processing awaiting a course of change or a result.
Props#
colorScheme
colorScheme
string
emptyColor
emptyColor
The color of the empty area in the spinner
string
"transparent"
label
label
For accessibility, it is important to add a fallback loading text. This text will be visible to screen readers.
string
"Loading..."
size
size
"xs" | "sm" | "md" | "lg" | "xl"
"md"
speed
speed
The speed of the spinner. @example ```jsx <Spinner speed="0.2s"/> ```
string
"0.45s"
thickness
thickness
The thickness of the spinner @example ```jsx <Spinner thickness="4px"/> ```
string
"2px"
variant
variant
Variants for Spinner
are not implemented in the default theme. You can extend the theme to implement them.
string
Props#
colorScheme
colorScheme
Color Schemes for Spinner
are not implemented in the default theme. You can extend the theme to implement them.
string
emptyColor
emptyColor
The color of the empty area in the spinner
string
"transparent"
label
label
For accessibility, it is important to add a fallback loading text. This text will be visible to screen readers.
string
"Loading..."
size
size
"xs" | "sm" | "md" | "lg" | "xl"
"md"
speed
speed
The speed of the spinner. @example ```jsx <Spinner speed="0.2s"/> ```
string
"0.45s"
thickness
thickness
The thickness of the spinner @example ```jsx <Spinner thickness="4px"/> ```
string
"2px"
variant
variant
Variants for Spinner
are not implemented in the default theme. You can extend the theme to implement them.
string