Show HN: Conformal – Type-safe FormData parsing and canonical submission flow

1 marcomuser 0 9/8/2025, 3:10:59 PM github.com ↗
I built Conformal to solve two major pain points in form handling in TypeScript.

First, it provides strongly typed FormData parsing, turning native FormData into fully typed objects with TypeScript inference, including nested objects and arrays.

Second, it provides a canonical submission flow: a single Submission object that preserves raw input, separates field and form errors, and standardizes success and error states.

Conformal implements Standard Schema (works with Zod, Valibot, etc.), is framework-agnostic, and is all you need to handle form submissions. It also exposes the primitives needed to build framework-specific higher-level form libraries.

Simple demo with React 19, useActionState, and Zod on StackBlitz: https://stackblitz.com/github/marcomuser/conformal/tree/main...

Repo: https://github.com/marcomuser/conformal

I’d be happy to hear any feedback or input on the library!

Comments (0)

No comments yet