{"repo":"react-hook-form/resolvers","free":true,"listed":false,"github":"https://github.com/react-hook-form/resolvers","clone":"git clone https://github.com/react-hook-form/resolvers.git","description":"📋 Validation resolvers: Yup, Zod, Superstruct, Joi, Vest, Class Validator, io-ts, Nope, computed-types, typanion, Ajv, TypeBox, ArkType, Valibot, effect-ts, VineJS and Standard Schema","language":"TypeScript","stars":2260,"topics":["yup","superstruct","joi","form","form-validation","hooks","validation","schema-validation","resolvers","typescript"],"license":"MIT","category":"dev-tools","readme_excerpt":"Performant, flexible and extensible forms with easy to use validation. React Hook Form Resolvers This function allows you to use any external validation library such as Yup, Zod, Joi, Vest, Ajv and many others. The goal is to make sure you can seamlessly integrate whichever validation library you prefer. If you're not using a library, you can always write your own logic to validate your forms. Install Install your preferred validation library alongside @hookform/resolvers . npm install @hookform/resolvers # npm yarn add @hookform/resolvers # yarn pnpm install @hookform/resolvers # pnpm bun install @hookform/resolvers # bun Resolver Comparison resolver Infer values from schema criteriaMode -------------------- -------------------------------- ----------------------------------------------------------------------- AJV ❌ firstError \\ all ata-validator ❌ firstError \\ all Arktype ✅ firstError class-validator ✅ firstError \\ all computed-types ✅ firstError Effect ✅ firstError \\ all fluentvalidation-ts ❌ firstError io-ts ✅ firstError joi ❌ firstError \\ all Nope ❌ firstError Standard Schema ✅ firstError \\ all Superstruct ✅ firstError typanion ✅ firstError typebox ✅ firstError \\ all typeschema ❌ firstError \\ all valibot ✅ firstError \\ all vest ❌ firstError \\ all vine ✅ firstError \\ all yup ✅ firstError \\ all zod ✅ firstError \\ all TypeScript Most of the resolvers can infer the output type from the schema. See comparison table for more details. Example: Links - React-hook-form validatio","default_branch":null,"files":null,"tree":[],"storefront":"/r/react-hook-form","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/react-hook-form/resolvers/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}