Components

Spinner

A dithered moon that cycles its phases while work runs

Import
import { Spinner } from "@nyte-ai/ui/spinner";

Usage

  • The spinner is 15px and takes the text color of its parent.
  • Under reduced motion it holds one phase.

Examples

<Spinner />

Props

PropTypeDefaultDescription
xstyleXStyleSee Theming.
classNamestringSee Theming.
styleReact.CSSPropertiesSee Theming.

Accessibility

  • The spinner is aria-hidden. Announce the running state with nearby text or aria-busy on the region.