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
colorSchemestringemptyColor
emptyColorThe color of the empty area in the spinner
string"transparent"label
labelFor 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
speedThe speed of the spinner. @example ```jsx <Spinner speed="0.2s"/> ```
string"0.45s"thickness
thicknessThe thickness of the spinner @example ```jsx <Spinner thickness="4px"/> ```
string"2px"variant
variantVariants for Spinner are not implemented in the default theme. You can extend the theme to implement them.
stringProps#
colorScheme
colorSchemeColor Schemes for Spinner are not implemented in the default theme. You can extend the theme to implement them.
stringemptyColor
emptyColorThe color of the empty area in the spinner
string"transparent"label
labelFor 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
speedThe speed of the spinner. @example ```jsx <Spinner speed="0.2s"/> ```
string"0.45s"thickness
thicknessThe thickness of the spinner @example ```jsx <Spinner thickness="4px"/> ```
string"2px"variant
variantVariants for Spinner are not implemented in the default theme. You can extend the theme to implement them.
string