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
| Prop | Type | Default | Description |
|---|---|---|---|
xstyle | XStyle | See Theming. | |
className | string | See Theming. | |
style | React.CSSProperties | See Theming. |
Accessibility
- The spinner is
aria-hidden. Announce the running state with nearby text oraria-busyon the region.