Spinner

The <Spinner /> component renders a basic loading spinner made with CSS.

import { Spinner } from 'minerva-ui';

Props

These are props related to the Spinner component.

NameTypeIs RequiredDefaultDescription
size'xs', 'sm', 'md', 'lg', 'xl',optionalnoneSize of the spinner
emptyColorstringoptionalnoneColor of the empty area in the spinner
colorstringoptionalnoneColor of the spinner
thicknessstringoptionalnoneThickness of the spinner
speedstringoptionalnoneSpeed of the spinner
labelstringoptionalnoneFor accessibility, it's important to add a fallback loading text. This text will be visible to screen readers.