Skip to Content
glob.ui home
Components

Spinner

A loading indicator with three sizes.

Server componentNo state or handlers. Safe to render in a Server Component.
import { Spinner, spinnerVariants } from "@glob-ui/spinner"

Preview

API

Props are generated from the TypeScript types in the package source.

SpinnerProps

Prop

Type

Accessibility

Key or actionBehaviour
Screen readersrole="status" with an aria-label (default "Loading"). Change it to describe what is loading.

ARIA. Spinners need a label that says what is loading. Set aria-label, for example "Saving changes".

On this page