{"id":20039613,"url":"https://github.com/mumer29/react-hooks-forms","last_synced_at":"2026-02-02T18:02:23.366Z","repository":{"id":171239101,"uuid":"369996347","full_name":"mumer29/React-Hooks-Forms","owner":"mumer29","description":null,"archived":false,"fork":false,"pushed_at":"2021-05-23T08:22:19.000Z","size":196,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-22T13:02:56.594Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mumer29.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-23T08:12:28.000Z","updated_at":"2021-05-23T08:22:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"593fc367-0347-4b38-9ec6-229df78040a2","html_url":"https://github.com/mumer29/React-Hooks-Forms","commit_stats":null,"previous_names":["mumer29/react-hooks-forms"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mumer29/React-Hooks-Forms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mumer29%2FReact-Hooks-Forms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mumer29%2FReact-Hooks-Forms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mumer29%2FReact-Hooks-Forms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mumer29%2FReact-Hooks-Forms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mumer29","download_url":"https://codeload.github.com/mumer29/React-Hooks-Forms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mumer29%2FReact-Hooks-Forms/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261296904,"owners_count":23137216,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T10:38:25.088Z","updated_at":"2026-02-02T18:02:23.302Z","avatar_url":"https://github.com/mumer29.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n        \u003ca href=\"https://react-hook-form.com\" title=\"React Hook Form - Simple React forms validation\"\u003e\n            \u003cimg src=\"https://raw.githubusercontent.com/react-hook-form/react-hook-form/master/docs/logo.png\" alt=\"React Hook Form Logo - React hook custom hook for form validation\" /\u003e\n        \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n        \u003ca href=\"https://react-hook-form.com\" title=\"React Hook Form - Simple React forms validation\"\u003e\n            \u003cimg src=\"https://raw.githubusercontent.com/bluebill1049/react-hook-form/master/docs/v7_example.gif\" alt=\"React Hook Form video - React custom hook for form validation\" width=\"100%\" /\u003e\n        \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![npm downloads](https://img.shields.io/npm/dm/react-hook-form.svg?style=for-the-badge)](https://www.npmjs.com/package/react-hook-form)\n[![npm](https://img.shields.io/npm/dt/react-hook-form.svg?style=for-the-badge)](https://www.npmjs.com/package/react-hook-form)\n[![npm](https://img.shields.io/npm/l/react-hook-form?style=for-the-badge)](https://github.com/react-hook-form/react-hook-form/blob/master/LICENSE)\n[![Discord](https://img.shields.io/discord/754891658327359538.svg?style=for-the-badge\u0026label=\u0026logo=discord\u0026logoColor=ffffff\u0026color=7389D8\u0026labelColor=6A7EC2)](https://discord.gg/yYv7GZ8)\n\n\u003c/div\u003e\n\nVersion 7 | [Version 6](/docs/README.V6.md)\n\n## Features\n\n- Built with performance and DX in mind\n- Embraces native form validation\n- Out of the box integration with [UI libraries](https://codesandbox.io/s/react-hook-form-v7-controller-5h1q5)\n- [Small size](https://bundlephobia.com/result?p=react-hook-form@latest) and no [dependencies](./package.json)\n- Follows HTML standard for [validation](https://react-hook-form.com/get-started#Applyvalidation)\n- Support [Yup](https://github.com/jquense/yup), [Zod](https://github.com/vriad/zod), [Superstruct](https://github.com/ianstormtaylor/superstruct), [Joi](https://github.com/hapijs/joi), [Vest](https://github.com/ealush/vest), [class-validator](https://github.com/typestack/class-validator), [io-ts](https://github.com/gcanti/io-ts), [nope](https://github.com/bvego/nope-validator) or custom\n\n## Install\n\n    npm install react-hook-form\n\n## Links\n\n- [Get started](https://react-hook-form.com/get-started)\n- [API](https://react-hook-form.com/api)\n- [Examples](https://github.com/bluebill1049/react-hook-form/tree/master/examples)\n- [Demo](https://react-hook-form.com)\n- [Form Builder](https://react-hook-form.com/form-builder)\n- [FAQs](https://react-hook-form.com/faqs)\n\n## Quickstart\n\n```jsx\nimport React from 'react';\nimport { useForm } from 'react-hook-form';\n\nfunction App() {\n  const {\n    register,\n    handleSubmit,\n    formState: { errors },\n  } = useForm();\n  const onSubmit = (data) =\u003e console.log(data);\n\n  return (\n    \u003cform onSubmit={handleSubmit(onSubmit)}\u003e\n      \u003cinput {...register('firstName')} /\u003e {/* register an input */}\n      \u003cinput {...register('lastName', { required: true })} /\u003e\n      {errors.lastName \u0026\u0026 \u003cp\u003eLast name is required.\u003c/p\u003e}\n      \u003cinput {...register('age', { pattern: /\\d+/ })} /\u003e\n      {errors.age \u0026\u0026 \u003cp\u003ePlease enter number for age.\u003c/p\u003e}\n      \u003cinput type=\"submit\" /\u003e\n    \u003c/form\u003e\n  );\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmumer29%2Freact-hooks-forms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmumer29%2Freact-hooks-forms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmumer29%2Freact-hooks-forms/lists"}