Quick start
Installation
Peer dependencies: react-hook-form ^7.55.0 and react / react-dom ^16.8 || ^17 || ^18 || ^19. Install react-hook-form alongside BlueForm.
Basic usage
Let's start with a simple login form. The form data is represented by the following TypeScript type:
0. Define a field
Notice that the field receives everything it needs from useField hook to be functional without needing to know where those values come from.
1. Setup the engine
2. Build the form
Preview
Preview
Note
The form above is unstyled intentionally. BlueForm is headless. Styling is entirely up to you.
Next steps
- Read Common pitfalls — a two-minute checklist of things that trip people up.
- Learn the
<Form />props and the full field config.

