Spinner

The Spinner UI component is used to notify customers that their operation is being processed, typically displayed while data is being sent to or received from the server.

Preview

Spinner.jpg

Code example

render('Checkout::Dynamic::Render', () => {
return <Spinner />;
});

SpinnerProps

tip

Optional properties are marked with a ?. Properties without a ? are required.

size?

extraSmall small base large fill Default: base

The size of the icon.


text?

string

The text used to describe the spinner, such as "loading".


appearance?

base accent decorative interactive subdued info success warning critical monochrome Default: accent

The type of the spinner.


Was this article helpful to you?