Skeleton

The ArcadiaSkeleton component displays shimmer placeholders with three shape variants for loading states.

Basic Usage

<ArcadiaSkeleton Variant="text" Width="80%" />

<ArcadiaSkeleton Variant="circular" Width="48px" Height="48px" />

<ArcadiaSkeleton Variant="rectangular" Width="100%" Height="200px" />

<ArcadiaSkeleton Variant="text" Count="3" />

Parameters

ParameterTypeDefaultDescription
Variantstring"text"Skeleton shape: "text", "circular", "rectangular".
Widthstring?nullCSS width of the skeleton element.
Heightstring?nullCSS height of the skeleton element.
Countint1Number of skeleton elements to render.
Classstring?nullAdditional CSS class names.
Stylestring?nullInline CSS styles.

Accessibility

  • Skeleton elements use aria-hidden="true" so they are ignored by screen readers.
  • For loading states, consider adding a visually hidden “Loading…” message or spinner with appropriate ARIA live region nearby.