@conform-to/react
Type-safe form validation library for React with progressive enhancement, server-side validation, and zero runtime dependencies.
Official Documentation ↗v1.2. Check the official docs for the latest API surface.Installation
npm install @conform-to/reactMethods
No methods match this filter.
@conform-to/react is type-safe form validation library for react with progressive enhancement, server-side validation, and zero runtime dependencies. This page documents the core methods, installation, and common usage patterns for the current stable release.
Installation
Install @conform-to/react with your preferred package manager using the command shown in the frontmatter. The package is published to the npm registry and ships with TypeScript types where applicable.
Core methods
The methods listed in the frontmatter cover the primary API surface. Each signature reflects the v1.2 release. Consult the official documentation linked in sourceUrl for advanced options, edge cases, and breaking changes between major versions.
Frequently asked questions
The faq section in the frontmatter answers the most common questions about @conform-to/react, including comparisons with alternatives, configuration tips, and runtime requirements. If your question is not covered, check the source URL for the full guide.
FAQ
- Does it work without JavaScript?
- Yes. Conform supports progressive enhancement; server validation works with JS disabled.
- How is it different from zod-form?
- Conform is validation-agnostic; pair it with zod, yup, or valibot via parseWithZod etc.
- Is it SSR-friendly?
- Yes. It is designed for Remix and Next.js server actions.
Report a problem with this API docOpens a pre-filled issue on GitHub.