Spinner is a loading component used to display loading states for our various components. Use anytime you want to indicate
the application is loading in some way. This component is used for the
isLoading state of the Button component.
aria-busy="true"to the component that triggered the loading state while the spinner is shown.
The Spinner composes the
Box component so you can pass props for
Box. These are props related to the Spinner component.
|The size of the spinner. See type definition.|
|The color of the empty area in the spinner.|
|The color of the spinner.|
|The thickness of the spinner.|
|The speed of the spinner animation.|
|For accessibility, it's important to add a fallback loading text.|