Spinner

Ready

Loading spinner is a waiting indicator in the user interface to communicate users an ongoing proccess.

Props

NameDefaultDescription
label: stringText to be placed inside the spinner.
mode: 'large' | 'small' | 'overlay' 'large'The spinner can have overlay or small or large size.
value: numberThe value of the progress indicator. If it's received the component is determinate, otherwise is indeterminate.
showValue: booleanfalseIf true, the value is displayed inside the spinner.
margin: string | objectSize of the margin to be applied to the component ('xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge'). You can pass an object with 'top', 'bottom', 'left' and 'right' properties in order to specify different margin sizes.

Examples

Basic usage

Overlay