API Reference

Form APIs

Import from @verbb/plugin-kit-react/forms (src/forms/index.ts).

This page is the high-level index for the forms export surface. For detailed SchemaForm engine and registry reference, use the dedicated pages linked below.

Schema engine

ExportKindNotes
useSchemaFormEngineHookBuilds SchemaFormEngineApi; requires schemaIndex.
SchemaFormEngineComponentRenders schema; optional <form> wrapper.

Detailed reference: SchemaForm API

Registry

ExportNotes
registerFormField, registerFormFieldsField type → component.
registerFormComponent, registerFormComponents$cmp → component.
getFormFieldRegistry, getFormComponentRegistryIntrospection / HMR.

Detailed reference: SchemaForm Registry

Field binding helpers

ExportNotes
useEngineFieldSubscribe to value + errors for a path.

These are most useful when building custom schema fields. For editable tabular UI without a schema field, use EditableTable with cellErrors.

Field helpers (Field.tsx)

FieldRoot, FieldHeader, FieldLabel, FieldInstructions, FieldControl, FieldErrors, FieldLayout, InlineFieldErrorVisibilityContext, useFieldContext.

Built-in fields and schema components

Individual field/component implementations live under src/forms/fields/* and src/forms/components/*. Built-in $field types load lazily from builtin-field-loaders; you typically do not import them unless overriding or testing. Product-owned fields (handles, variables, element select, etc.) register in the consumer plugin.

Example

ts
import {
  useSchemaFormEngine,
  SchemaFormEngine,
  registerFormFields,
  FieldLayout,
} from '@verbb/plugin-kit-react/forms';
Edit this page
Last updated: Jul 19, 2026, 4:42 PM