Spinner component for Stripe Apps
Use the Spinner component to indicate something is loading.
To add the Spinner
component to your app:
import {Spinner} from '@stripe/ui-extension-sdk/ui';
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
Property | Type |
---|---|
| Optional
Delay applied to animation. |
| Optional
The size of the component. |