Spinner
A loading state for quick asynchronous tasks.
Consider using Skeleton placeholders as an alternative to displaying a spinner.
#
Importimport { Spinner } from '@volue/wave-react';
#
Examples#
Page/box spinnerUseful when an entire view is loading. You may also use it when content in boxes like cards is being loaded.
#
Inline spinnerUseful when content in paragraphs and other inline elements is being loaded.
#
Size#
ColorSpinner can be re-coloured to meet your needs by using color
prop.
#
API ReferenceIn addition to the props below, you can pass Box props to control the spacing.
Prop | Type | Default |
---|---|---|
css | StitchesCss | No default value |
inline | boolean | false |
size | enum | No default value |
color | ColorToken | No default value |