{"schemaVersion":1,"id":"react-hook-form","name":"React Hook Form","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/react-hook-form/","officialUrl":"https://github.com/react-hook-form/react-hook-form","isCatalog":false,"description":"Manages input and validation in React forms, helping build complex forms with a controlled number of re-renders.","tasks":["Handle input and errors in a React form","Connect a submit handler and display errors alongside fields"],"categoryIds":["frontend","design"],"subcategoryIds":["frontend.components","design.systems","frontend.forms"],"tags":["React Hook Form","UI","Development"],"aliases":["react-hook-form/react-hook-form","react-hook-form"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"MIT for the code; dependencies have separate licenses.","selectionGuide":{"purpose":"Manage form input, submission, and errors in React.","chooseWhen":["There are several fields with rules and a submission state.","Validation errors need to be associated with specific fields."],"considerInstead":["For a single simple HTML form, first assess the browser's built-in validation."],"requirements":["A React project, registered fields, and a submission handler."],"limitations":["A form library does not replace server-side validation and authorization."],"faq":[{"question":"Can you use Zod?","answer":"Yes. The project supports integration with Zod schemas; configure the corresponding resolver."}],"related":[{"id":"zod","reason":"Complement: a data schema and value type validation."},{"id":"react","reason":"Foundation: components and form interface state."}],"sources":["https://github.com/react-hook-form/react-hook-form"]},"selectionCheckedAt":"2026-10-07","applicationGuide":{"goal":"Build a request form with a required field.","inputs":["A React screen and field rules.","A test handler for success and failure."],"steps":["Register fields through useForm.","Connect handleSubmit and formState.errors messages.","Test submission, correcting an error, and re-entering data."],"checks":["An empty required field prevents submission.","Labels and errors are associated with their fields."]},"sources":["https://github.com/react-hook-form/react-hook-form","https://raw.githubusercontent.com/react-hook-form/react-hook-form/HEAD/README.md","https://raw.githubusercontent.com/react-hook-form/react-hook-form/HEAD/LICENSE","https://www.open-source-tools.com/"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":["zod","valibot","tanstack-form","react"],"dataVersion":"cbbe7123b47a5ae80983","type":"UI library","kind":"library","pricingNote":"Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/react-hook-form/react-hook-form","label":"Official source"},{"url":"https://raw.githubusercontent.com/react-hook-form/react-hook-form/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/react-hook-form/react-hook-form/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}