GuidesModules

SDK helpers

Reuse the SDK's form fields, conditional rendering, and utilities

  • Stable unknown
  • Release candidate since 1.16.1-rc.3
  • Development since 1.16.1-dev.2111+9796905

The helpers subpath contains small building blocks used by the SDK's own screens: Formik field wrappers, Conditional, logging, telemetry, and animation utilities. Use them when their behavior matches your app's form and observability setup; they do not replace your validation rules, privacy review, or error handling.

import { FormikContext } from "formik";
import { FormField, FormSelect } from "@ovok/native/helpers";

<FormField name="email" context={FormikContext} label="Email" />
<FormSelect
  name="language"
  context={FormikContext}
  label="Language"
  options={languageOptions}
  labelField="label"
  valueField="value"
/>

These form components expect to be rendered inside the appropriate Formik form context. Keep validation schemas and submit behavior with the form that owns them. Before sending telemetry, remove patient identifiers and any other sensitive values. Use the dedicated observability guide for logging and telemetry behavior.

References

API reference

Every export of @ovok/native/helpers, with signatures, props and types, is in the helpers API reference.

Last updated on

On this page