API reference
Every public export of attaform, grouped by subpath. Pick the
entry that matches how you import the library; each page lists
signatures, options, and return shapes.
attaform/zod
The recommended entry — Zod v4 adapter. useForm, zodAdapter,
kindOf, assertZodVersion, type ZodKind.
attaform/zod-v3
Legacy Zod v3 adapter. New projects should use attaform/zod.
attaform
Framework-agnostic core. The plugin (createAttaform), the
schema-agnostic useForm, injectForm, the v-register
directive and its modifier / transform / custom-assigner surfaces,
SSR helpers, parseApiErrors, error codes, the unset sentinel.
attaform/nuxt
The Nuxt module. Auto-registers everything; useForm becomes a
global auto-import.
attaform/vite
The Vite plugin. Required under bare Vue + Vite for SSR-correct
v-register bindings.
attaform/transforms
Raw Vue compiler-core node transforms. Use only when wiring a custom bundler pipeline.
The useForm return value
The reactive object returned by every useForm() call —
values, errors, fields, setValue, register, validate*,
handleSubmit, meta, reset, undo/redo, field-array helpers,
imperative persistence.
→ Read the useForm return value
Types
The exported type surface — FlatPath, WriteShape,
NestedReadType, ValidationError, FormStorage, and the rest.