1 viewer
Back to Components
Component · Feedback

ErrorMessage

Accessible error summary.

Category
Feedback
Slots
3
States
1
Writer
Shared
cre8.primitive.error-message

Preview

Live renderShared SSR + WASM writers
Verification Refusal (Policy PS-C-1)
<ErrorMessage
  detail="Single primary <h1> landmark invariant violated on subview."
  title="Verification Refusal (Policy PS-C-1)"
/>

Anatomy

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

SlotDOM class
root.primitive-errormessage
title—
detail—
3 rows

States and platforms

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

States
error
Platforms
webnativeruntime-node
Recipes
unstyledruntime-console

Renderers

Shared writer
ErrorMessage 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

Errors are announced through assertive alert semantics.

  • Use alert semantics for urgent error text.
  • Wire the announced name and supporting detail through aria relationships.