# React headless form > react-headless-form (BlueForm) is a config-driven, headless form engine for React built on React Hook Form (peer dependency). Call setupForm({ fieldMapping, renderRoot }) once to get a typed [Form, defineConfig, Section]; describe each form as a config object; field components read value/onChange/label/errorMessage from useField(). renderRoot is required. Read "Common pitfalls" first. ## Guide - [Introduction](https://bonniss.github.io/react-headless-form/guide/start/introduction.md): What react-headless-form (BlueForm) is: a config-driven, headless form engine on top of React Hook Form, and why it exists. - [Quick start](https://bonniss.github.io/react-headless-form/guide/start/quick-start.md): Install react-headless-form with react-hook-form, define a field component with useField, set up the form engine with setupForm, and render a typed login form. - [Common pitfalls](https://bonniss.github.io/react-headless-form/guide/start/pitfalls.md): Short checklist of the mistakes people (and LLMs) most often make with BlueForm — required renderRoot, peer dependency, rules vs resolver, submit errors, undefined initial values, i18n of props, and re-render cost of conditional fields. - [Migration and deprecations](https://bonniss.github.io/react-headless-form/guide/start/migration.md): Breaking changes and deprecated APIs across 0.x releases, and what to use instead before 1.0 removes them. - [setupForm](https://bonniss.github.io/react-headless-form/guide/core/setup-form/index.md): setupForm creates a typed form system bound to your fieldMapping and returns [Form, defineConfig, Section]; also sets renderRoot, i18nConfig and formOptions. - [\