Skip to content
1 viewer
View
Component · Input

DynamicForm

cre8.primitive.dynamic-form

Schema-driven form renderer for runtime connection payloads.

Edit live
Category
Input
Slots
5
States
2
Writer
Shared

Preview

Live renderShared SSR + WASM writers
<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"
/>
Change this declaration and watch it render:open DynamicForm in the playground

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

Shared writer
DynamicForm 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-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.