React Native API reference
All supported exports are available from form0-react-native.
Rendering and themes
FormRenderer— render and manage a schema-driven native form.FormHeader— the binding's native form header.ThemeProvider,ThemeContext,useThemelightTheme,darkTheme,mergeThemes,getThemeByName
See FormRenderer and Themes, fonts, and images.
Field registry
FieldRegistryProvider,FieldRegistryContext,useFieldRegistrycreateFieldRegistry,defaultFieldRegistryregisterFieldComponent,unregisterFieldComponent,resetFieldComponentsgetFieldComponent,listRegisteredFieldTypes,getMissingFieldComponentTypesKNOWN_FIELD_TYPES
Images, media, and typography
ImageResolverProvider,ImageResolverContext,useImageResolverMediaPickerProvider,MediaPickerContext,useMediaPickerText,TextInputform0Fontsand theFORM0_FONT_FAMILY*constants
The package includes TypeScript declarations for FormRenderer props, snapshots, submission and
save metadata, engine options, registry values, and custom field renderer props. Internal engine
hooks, individual default components, repeatable controllers, and submission utilities are not
public exports.
Engine options
FormRenderer.engineOptions: helpers, security, onWarning, onUpdate,
onOperations, diagnostics.console, onDiagnostics(snapshot, meta).
FormRenderer: scopeId, instancePath,
evaluationId, kind: "evaluation" | "scope-ended".
Managed event API
See the managed event controller and scope contract in FormRenderer.
engineOptions.events: lifecycle (true), required recordKind (new/existing), fieldInteractions ([focus, blur, click]). Set lifecycle: false to keep only load-record, edit-record, and change, or fieldInteractions: [] to disable automatic interactions.
engineOptions.onEventController(controller | null): dispatch(request), prepareSave(request).
Setters reject values in the wrong shape. Initial values and application overrides are more tolerant, including in View, which keeps accepted calculations. See the value-update contract.