1 viewer
Back to Components
Component · Feedback

Skeleton

Loading-state placeholder that mimics the shape of content.

Category
Feedback
Slots
2
States
0
Writer
Shared
cre8.primitive.skeleton

Preview

Live renderShared SSR + WASM writers
<Skeleton lines={4} />

Anatomy

The named parts of the rendered markup. Recipes style these hooks, and every renderer keeps them stable.

SlotDOM class
root.primitive-skeleton
line.primitive-skeleton__line
2 rows

States and platforms

The states the contract publishes, the platforms it declares, and the style recipes that dress it.

States
No published states
Platforms
webnativeruntime-node
Recipes
unstyledruntime-console

Renderers

Shared writer
Skeleton renders through the one writer the server and the WASM DOM share, so both emit the same markup.

Every tag in the example above renders through a shared writer.

Declared adapters. A status is the manifest's declaration, not a measured parity result.

TargetRendererStatus
webreactexperimental
runtime-nodeview-nodeready
ssrhtml-semanticready
terminalterminal-textplanned
nativenative-adapterexperimental
5 rows

Accessibility

Skeleton placeholders stay out of the accessibility tree so loading state is announced by surrounding status copy, not decorative lines.

  • Render skeleton lines with aria-hidden so assistive technology ignores placeholder geometry.
  • Pair loading placeholders with visible or programmatic status text when users need loading context.