Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Spinner component for Stripe Apps


Spinner component for Stripe Apps

Use the Spinner component to indicate something is loading.

SDK version

To add the Spinner component to your app:

This is a preview of a Spinner component in three sizes:

Loading example...

<Box
 css={{
 stack: 'y',
 gap: 'medium',
 alignX: 'center',
 backgroundColor: 'surface',
 padding: 'medium',
 borderRadius: 'medium',
 }}
>
 <Spinner size="small" />
 <Spinner />
 <Spinner size="large" />
</Box>

Spinner props

PropertyType
delayOptional number | undefined Delay applied to animation.
sizeOptional ("small" | "medium" | "large") | undefined The size of the component.

See also

Last verified 2026-09-24

Is this helpful?