1 viewer
Component · Data
KeyValue
Key-value display layout for compact records.
- Category
- Data
- Slots
- 7
- States
- 1
- Writer
- Shared
Preview
- Network ID
- cre8-devnetcanonical
- Storage Backend
- HyperDB + SQLitedurable
- Compute Engine
- CRE8VM RISC-Vsandboxed
- Uptime
- 99.98%healthy
<KeyValue
items={[
{ hint: "canonical", key: "Network ID", value: "cre8-devnet" },
{ hint: "durable", key: "Storage Backend", value: "HyperDB + SQLite" },
{ hint: "sandboxed", key: "Compute Engine", value: "CRE8VM RISC-V" },
{ hint: "healthy", key: "Uptime", value: "99.98%" }
]}
title="Node Parameters"
/>Anatomy
The named parts of the rendered markup. Recipes style these hooks, and every renderer keeps them stable.
| Slot | DOM class |
|---|---|
| root | .primitive-keyvalue |
| title | .primitive-keyvalue__title |
| list | .primitive-keyvalue__list |
| item | .primitive-keyvalue__item |
| key | .primitive-keyvalue__key |
| value | .primitive-keyvalue__value |
| hint | .primitive-keyvalue__hint |
- State attribute
- data-emptyfrom the isEmpty prop
States and platforms
The states the contract publishes, the platforms it declares, and the style recipes that dress it.
States
Platforms
Recipes
Renderers
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.
| Target | Renderer | Status |
|---|---|---|
| web | react | experimental |
| runtime-node | view-node | ready |
| ssr | html-data | ready |
| terminal | terminal-keyvalue | planned |
| native | native-adapter | experimental |
Accessibility
The section and definition list stay labelled without relying on visual styling, and empty records announce fallback copy politely.
- When a title is present, the section and definition list expose that title as their accessible name.
- Empty records announce fallback copy through a polite status region without removing the structural container.