This library is still in development and is available only for internal usage at VTEX.
Skip to main content

Spinner

Version: 0.132.0

Spinner

A Spinner is a way of showing the user something is being loaded, either because of a user action or not. It should be used for short, indeterminate loading times.

Usage

import { Spinner } from '@vtex/admin-ui'

function Example() {
return <Spinner />
}

Alternatives

Examples

Contextual theming

The spinner's circle always has the currentColor fill.

Loading...

Size

Loading...

Props

It also accepts all the props of svg jsx element.

NameTypeDescriptionRequiredDefault
csxStyleObjectCustom styles🚫{}
sizenumberSpinner size in px🚫24