Spinner
A spinner indicates ongoing activity, such as loading or processing, providing users with immediate visual feedback.
Usage
<Spinner />
Size
<Spinner size="small" /> <Spinner size="medium" /> <Spinner size="large" /> <!-- custom size --> <Spinner size={50} />
Props
size | ‘small’ | ‘medium’ | ‘large’ | number | ‘small’ | Specifies the size of the spinner, either using preset sizes or a custom numeric value. |
onbrand | boolean | false | If true, the spinner color is adjusted to match the brand color scheme. |
class | string | undefined | Custom CSS class name for additional styling. |