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.
useEditableTableFieldBindingTable row/cell error aggregation.

These are most useful when building custom schema fields.

Field helpers (Field.tsx)

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

Variable categories

VariableCategoriesProvider, useVariableCategoriesContext.

Built-in fields and schema components

Individual field/component implementations live under src/forms/fields/* and src/forms/components/*. They are bundled through registry.ts defaults; you typically do not import them unless overriding or testing.

Example

ts
import {
  useSchemaFormEngine,
  SchemaFormEngine,
  registerFormFields,
  FieldLayout,
} from '@verbb/plugin-kit-react/forms';
Edit this page
Last updated: May 22, 2026, 6:53 PM