An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        



React Hook Form Logo - React hook custom hook for form validation

### 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)].