feedback — wyrd.component.skeleton

Skeleton

Decorative placeholder shape used while loading content; loading announcements belong to status/live-region components.

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.
text state: default
Usage
import { WyrdSkeleton } from "@wyrd-company/react";

<WyrdSkeleton variant="text" />
circle state: default
Usage
import { WyrdSkeleton } from "@wyrd-company/react";

<WyrdSkeleton variant="circle" />
rect state: default
Usage
import { WyrdSkeleton } from "@wyrd-company/react";

<WyrdSkeleton variant="rect" />
02

Properties

NameTypeDefaultSummary
variant text | circle | rect text Placeholder geometry.
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
base-color color.surface-container
highlight-color color.surface
radius rounded.sm
04

States

StateSourceSummary
default platform Text-line placeholder.
05

Accessibility

From the contract's accessibility obligations. Role none

  • Web projections set aria-hidden="true".
  • Flutter projection excludes the placeholder from semantics.
  • Loading state is announced by Spinner or live-region components, not by skeletons.
  • Verified under: rtl, reduced-motion, density-compact.
06

SDUI

Status: serializable. Skeleton serializes only its decorative shape variant.

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