1 viewer
Back to Components
Component · Input

DynamicForm

Schema-driven form renderer for runtime connection payloads.

Category
Input
Slots
5
States
2
Writer
Legacy
cre8.primitive.dynamic-form

Preview

Live renderLegacy writer: DynamicForm
<DynamicForm
  fields={[
    {
      defaultValue: "Position.Submit",
      label: "Connection",
      name: "connection",
      required: true
    },
    { defaultValue: 100, label: "Volume (C8)", name: "volume", type: "number" },
    {
      defaultValue: true,
      label: "Immediate execution",
      name: "immediate",
      type: "checkbox"
    }
  ]}
  submitLabel="Dispatch Connection"
/>

Anatomy

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

SlotDOM class
root.primitive-dynamic-form
field—
control—
error—
footer—
5 rows

States and platforms

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

States
disabledinvalid
Platforms
webnativeruntime-node
Recipes
unstyledruntime-console

Renderers

Legacy writer
DynamicForm has no shared writer yet: the server renders it through its legacy path, which the WASM DOM does not share.

The example above still needs shared writers for: DynamicForm.

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

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

Accessibility

Renders labelled controls from field metadata and validates JSON/number inputs before submit.

  • Each control has a visible label.
  • Validation errors use alert semantics.