Skip to content
Docs
Components
Feedback
Spinner

Spinner

Spinners provide a visual cue that an action is either processing, awaiting a course of change or a result. It uses AdaptUI's Box component internally.

Imports

import { Spinner } from "@adaptui/react-tailwind";

Usage

Spinner sizes

Sizes can be set using the size prop. The default size is md. The available sizes are: xs sm md lg & em

Show track

To show the subtle track around the spinner we can use the track which accepts visible or transparent values

With Label

Spinner has a label prop to provide an customized A11y label which is only visible to the screen readers.

API Reference

Prop

Type

Default

sizeunionmd
trackuniontransparent
labelstringLoading...
Last updated on July 26, 2022