Spinner

An indeterminate loading indicator.
Stable
Web
iOS
Android
@advui/core
Source

Sizes and colors

Installation

pnpm
pnpm add @advui/core
npm
npm install @advui/core

Usage

import { Spinner } from '@advui/core'

<Spinner label="Loading orders" />

API reference

Spinner

PropTypeDefaultDescription
size'sm' | 'md' | 'lg''md'16, 20 or 28px.
colorstring—Theme token (e.g. `primary`) or color. Defaults to the text color.
labelstring'Loading'Accessible name.

Accessibility

  • Exposes role="progressbar" with an accessible name and aria-busy.
  • With reduced motion the spinner keeps rotating, but slower, because it communicates state.

Platform notes

Web
Lightweight CSS-animated SVG (no JS animation).
iOS
Native ActivityIndicator.
Android
Native ActivityIndicator.
Since v0.1.0Last updated Nov 2, 2026Edit this page on GitHub