- Docs
- Components
- Feedback
Spinner
A short wait with no known end: a ring that turns. Read as a status, in the app's language.
- Import
- @qeetrix/react
- Status
- StableSince 0.0.2
- Renders
<span role="status">Server-rendered- Tested
- WCAG 2.2 AAaxe on every pull request
01
Playground
Every prop, live, and the code it takes.
Size
Tone
import { Spinner } from "@qeetrix/react";
<Spinner size="lg" label="Loading users" />02
A short wait
A 2px ring that turns, or fades under reduced motion. Read as a status named "Loading", in the app's language.
Loading
<Spinner />03
Tones
neutral follows the text colour; brand is Ember. label names what's loading.
<Spinner size="lg" label="Loading users" />
<Spinner size="lg" tone="brand" label="Loading applications" />04
Sizes
sm 14, md 16, lg 20 and xl 24px: the icon sizes it stands in for.
14
16
20
24
<Spinner size="sm" />
<Spinner />
<Spinner size="lg" />
<Spinner size="xl" />05
Beside words
decorative hides it when the words say the wait; a busy Button draws its own.
Waiting for your passkey…
<Inline gap="sm" role="status">
<Spinner decorative />
<Text>Waiting for your passkey…</Text>
</Inline>
<Button loading>Saving…</Button>