https://github.com/react-hook-form/core
Framework agnostic hook form core lib
https://github.com/react-hook-form/core
form form-builder
Last synced: about 1 month ago
JSON representation
Framework agnostic hook form core lib
- Host: GitHub
- URL: https://github.com/react-hook-form/core
- Owner: react-hook-form
- License: mit
- Created: 2023-02-12T22:04:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-13T05:46:15.000Z (over 2 years ago)
- Last Synced: 2025-04-21T01:26:05.469Z (about 2 months ago)
- Topics: form, form-builder
- Language: TypeScript
- Homepage: https://react-hook-form.com/
- Size: 84 KB
- Stars: 124
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
### Install
npm install @hookform/core
### Quickstart
```jsx
import { createFormControl } from '@hookform/core';const { register, setValue } = createFormControl({
defaultValues: {
name: 'Bill',
},
});register('name', { required: true });
setValue('name', 'test');
```### Backers
Thanks go to all our backers! [[Become a backer](https://opencollective.com/react-hook-form#backer)].
### Contributors
Thanks go to these wonderful people! [[Become a contributor](CONTRIBUTING.md)].