Attaform: type-safe, Zod-first forms for Vue 3 and Nuxt (full Zod 3 + 4 parity) #6190
ozzyfromspace
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi all! I built Attaform, a type-safe, schema-driven form library for Vue 3 and Nuxt where Zod is the first-class schema source.
The thing I most want to flag for this community: Attaform ships full first-class support for both Zod 3 and Zod 4 as equal peers. Every feature and every fix is built and tested against both adapters, so this is genuine parity. In practice that means teams still on Zod 3 get the complete experience today, and the door stays wide open to move to Zod 4 whenever they are ready, with no library migration on their side.
A few things that define it:
Zod-first and type-safe end to end. Inference flows from your schema through
useForm, so you rarely reach for a type by hand.Schema-driven state and rendering, not just validation. A
v-registerdirective binds native inputs and your own components straight to the schema.SSR-ready for Nuxt, with correct server-rendered
value/checked/selected.Zero runtime dependencies.
Docs: https://attaform.dev
Repo: https://github.com/attaform/Attaform
npm: https://www.npmjs.com/package/attaform
I also opened PRs to add Attaform to the ecosystem docs, for Zod 4 (#6188) and Zod 3 (#6189). Sharing here for the Zod 3 crowd too, since first-class v3 support is a core commitment for Attaform, not a legacy afterthought. Happy to answer any questions!
All reactions