feedback — wyrd.component.spinner

Spinner

Indeterminate loading indicator with a localized default status announcement.

Install @wyrd-company/react or the Flutter package and use it directly — your DESIGN.md does the styling.

01

Examples

Generated from the contract's examples block. Previews are the published @wyrd-company/react component, themed by the brand's role tokens — flip the site's light/dark toggle and they follow.

Code target Applies to every example on component pages.
default state: default
Usage
import { WyrdSpinner } from "@wyrd-company/react";

<WyrdSpinner size="md" />
small state: default
Usage
import { WyrdSpinner } from "@wyrd-company/react";

<WyrdSpinner size="sm" />
labeled state: default
Usage
import { WyrdSpinner } from "@wyrd-company/react";

<WyrdSpinner size="lg" label="Syncing" />
02

Properties

NameTypeDefaultSummary
size sm | md | lg md Visual spinner size.
label string undefined Accessible status text; when omitted the component-owned localized loading message is used.
03

Tokens

The contract's token bindings. Open the shared contextual sidebar from any example; primary swatches reflect the color you pick there. Error swatches show the active preset's values; editing any knob switches to custom and resets error to TWW · Ink.

BindingToken
color color.primary
size.sm spacing.md
size.md spacing.lg
size.lg spacing.xl
04

States

StateSourceSummary
default platform Medium indeterminate spinner.
05

Accessibility

From the contract's accessibility obligations. Role status; Label property provides the accessible name; when omitted the component-owned localized loading message provides it.

  • Exposes status semantics with label-or-message text.
  • The visual indicator is hidden from the accessibility tree.
  • Verified under: rtl, reduced-motion, cvd-deuteranopia, density-compact.
06

SDUI

Status: serializable. Spinner serializes its visual size and optional accessible label.

SerializableMembers
Propertiessize, label
Slots
Events
The Wyrding Way — a contract-first design system. © Wyrd Company