# React form libraries

React form libraries keep a form's values, validation errors, and submit handling in one place rather than in separate state for each input. These libraries let apps validate sign-up, checkout, and settings forms before they submit, with each error message tied to its field.

## Popularity

| Library | Monthly downloads | Stars | Last release | License |
| --- | --- | --- | --- | --- |
| [React Hook Form](#react-hook-form) | 247.0M | 44.9K | Nov 2026 | MIT |
| [TanStack Form](#tanstack-form) | 25.3M | 6.8K | Aug 2026 | MIT |
| [Formik](#formik) | 23.2M | 34.3K | Nov 2025 | Apache-2.0 |
| [@rc-component/form](#rc-component-form) | 7.4M | 1.0K | Jul 2026 | MIT |
| [react-jsonschema-form](#rjsf-core) | 6.7M | 15.9K | Nov 2026 | Apache-2.0 |
| [Mantine Form](#mantine-form) | 4.4M | 32.0K | Nov 2026 | MIT |
| [React Final Form](#react-final-form) | 2.7M | 7.4K | May 2026 | MIT |
| [Redux Form](#redux-form) | 2.5M | 12.5K | Mar 2023 | MIT |

Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

[React Hook Form](#react-hook-form) has the most monthly downloads in this comparison, at 245.7M.

## Capabilities

| Library | JSON Schema UI | Redux store required | DOM-based uncontrolled fields |
| --- | --- | --- | --- |
| [React Hook Form](#react-hook-form) | No | No | Yes |
| [TanStack Form](#tanstack-form) | No | No | No |
| [Formik](#formik) | No | No | No |
| [@rc-component/form](#rc-component-form) | No | No | No |
| [react-jsonschema-form](#rjsf-core) | Yes | No | No |
| [Mantine Form](#mantine-form) | No | No | Yes |
| [React Final Form](#react-final-form) | No | No | No |
| [Redux Form](#redux-form) | No | Yes | No |

## Libraries

### React Hook Form

[GitHub](https://github.com/react-hook-form/react-hook-form) · [npm](https://www.npmjs.com/package/react-hook-form) · [Docs](https://react-hook-form.com/get-started)

React Hook Form manages form values, validation, errors, and submission while the app renders standard React inputs. `useForm` creates the form, and `register` connects each native input to it along with validation rules such as `required`. `handleSubmit` validates the form before calling the submit handler, and `formState.errors` holds the current errors. Schema libraries such as Zod, Yup, and Joi plug in through resolvers, and the package itself has no dependencies.

- Downloads / mo: 247.0M
- Stars: 44.9K
- Last release: 7.92.0
- License: MIT
- Capabilities: [From the React Hook Form docs](https://react-hook-form.com/get-started)

**Strengths**

- **Subscribes to selected field state.** Limit state subscriptions to the fields a component needs.
- **Includes dynamic field arrays.** Add, remove, and reorder repeated form entries through useFieldArray.

**Watch out for**

- **Default values are cached.** Call reset when fetched defaults need to replace current form values.
- **Array updates remount fields.** Use setValue when an update must preserve the mounted field.

```sh
npm install react-hook-form
```

**shadcn-ui/ui** (128.3K stars)

[shadcn-ui/ui](https://github.com/shadcn-ui/ui) 

```typescript
const useFormField = () => {
  const fieldContext = React.useContext(FormFieldContext)
  const itemContext = React.useContext(FormItemContext)
  const { getFieldState } = useFormContext()
  const formState = useFormState({ name: fieldContext.name })
  const fieldState = getFieldState(fieldContext.name, formState)

  if (!fieldContext) {
    throw new Error("useFormField should be used within <FormField>")
  }

  const { id } = itemContext

  return {
    id,
    name: fieldContext.name,
    formItemId: `${id}-form-item`,
    formDescriptionId: `${id}-form-item-description`,
    formMessageId: `${id}-form-item-message`,
    ...fieldState,
  }
}

```

[apps/v4/registry/new-york-v4/ui/form.tsx](https://github.com/shadcn-ui/ui/blob/e62c9435fff729a175f38983dee73b2cb4f6a069/apps/v4/registry/new-york-v4/ui/form.tsx#L45-L66) · [More projects using React Hook Form →](https://dashboard.exa.ai/playground/search?q=React%20projects%20that%20use%20react-hook-form&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```typescript
import { useForm } from 'react-hook-form';

function App() {
  const {
    register,
    handleSubmit,
    formState: { errors },
  } = useForm();

  return (
    <form onSubmit={handleSubmit((data) => console.log(data))}>
      <input {...register('firstName')} />
      <input {...register('lastName', { required: true })} />
      {errors.lastName && <p>Last name is required.</p>}
      <input {...register('age', { pattern: /\d+/ })} />
      {errors.age && <p>Please enter a number for age.</p>}
      <input type="submit" />
    </form>
  );
}

```

From [README.md](https://github.com/react-hook-form/react-hook-form/blob/master/README.md)

### TanStack Form

[GitHub](https://github.com/TanStack/form) · [npm](https://www.npmjs.com/package/@tanstack/react-form) · [Docs](https://tanstack.com/form/latest/docs/framework/react/overview)

TanStack Form is a headless, type-safe form library with adapters for React and other frameworks. `useForm` takes default values and an `onSubmit` function, and each input renders inside a `form.Field` component that passes it the field's value, change handler, and errors. Validators attach to each field and each event, such as `onChange`, and async validators can wait for typing to pause before they run. Schemas that follow the Standard Schema interface, including Zod, plug in without an adapter.

- Downloads / mo: 25.3M
- Stars: 6.8K
- Last release: 1.33.5
- License: MIT
- Capabilities: [From the TanStack Form docs](https://tanstack.com/form/latest/docs/framework/react/overview)

**Strengths**

- **Accepts standard schema validators directly.** Pass compatible schemas directly without adding a separate resolver adapter.
- **Handles nested array values.** Manage repeated fields containing nested object values.

**Watch out for**

- **Schema transformations need explicit parsing.** Call the schema's parse step in onSubmit to apply its transformations.
- **Async checks follow synchronous validation.** Enable asyncAlways when async checks must run after synchronous validation fails.

```sh
npm install @tanstack/react-form
```

**shadcn-ui/ui** (128.3K stars)

[shadcn-ui/ui](https://github.com/shadcn-ui/ui) 

```typescript
export default function BugReportForm() {
  const form = useForm({
    defaultValues: {
      title: "",
      description: "",
    },
    validators: {
      onSubmit: formSchema,
    },
    onSubmit: async ({ value }) => {
      toast("You submitted the following values:", {
        description: (
          <pre className="mt-2 w-[320px] overflow-x-auto rounded-md bg-code p-4 text-code-foreground">
            <code>{JSON.stringify(value, null, 2)}</code>
          </pre>
        ),
        position: "bottom-right",
        classNames: {
          content: "flex flex-col gap-2",
        },
        style: {
          "--border-radius": "calc(var(--radius)  + 4px)",
        } as React.CSSProperties,
      })
    },
  })

  return (
    <Card className="w-full sm:max-w-md">
      <CardHeader>
        <CardTitle>Bug Report</CardTitle>
        <CardDescription>
          Help us improve by reporting bugs you encounter.
        </CardDescription>
      </CardHeader>
      <CardContent>
        <form
          id="bug-report-form"
          onSubmit={(e) => {
            e.preventDefault()
            form.handleSubmit()
          }}
        >
          <FieldGroup>
            <form.Field
              name="title"
              children={(field) => {
                const isInvalid =
                  field.state.meta.isTouched && !field.state.meta.isValid
                return (
                  <Field data-invalid={isInvalid}>
                    <FieldLabel htmlFor={field.name}>Bug Title</FieldLabel>
                    <Input
                      id={field.name}
                      name={field.name}
                      value={field.state.value}
                      onBlur={field.handleBlur}
                      onChange={(e) => field.handleChange(e.target.value)}
                      aria-invalid={isInvalid}
                      placeholder="Login button not working on mobile"
                      autoComplete="off"
                    />
                    {isInvalid && (
                      <FieldError errors={field.state.meta.errors} />
                    )}
                  </Field>
                )
              }}
            />
            <form.Field
              name="description"
              children={(field) => {
                const isInvalid =
                  field.state.meta.isTouched && !field.state.meta.isValid
                return (
                  <Field data-invalid={isInvalid}>
                    <FieldLabel htmlFor={field.name}>Description</FieldLabel>
                    <InputGroup>
                      <InputGroupTextarea
                        id={field.name}
                        name={field.name}
                        value={field.state.value}
                        onBlur={field.handleBlur}
                        onChange={(e) => field.handleChange(e.target.value)}
                        placeholder="I'm having an issue with the login button on mobile."
                        rows={6}
                        className="min-h-24 resize-none"
                        aria-invalid={isInvalid}
                      />
                      <InputGroupAddon align="block-end">
                        <InputGroupText className="tabular-nums">
                          {field.state.value.length}/100 characters
                        </InputGroupText>
                      </InputGroupAddon>
                    </InputGroup>
                    <FieldDescription>
                      Include steps to reproduce, expected behavior, and what
                      actually happened.
                    </FieldDescription>
                    {isInvalid && (
                      <FieldError errors={field.state.meta.errors} />
                    )}
                  </Field>
                )
              }}
            />
          </FieldGroup>
        </form>
      </CardContent>
      <CardFooter>
        <Field orientation="horizontal">
          <Button type="button" variant="outline" onClick={() => form.reset()}>
            Reset
          </Button>
          <Button type="submit" form="bug-report-form">
            Submit
          </Button>
        </Field>
      </CardFooter>
    </Card>
  )
}

```

[apps/v4/registry/new-york-v4/examples/form-tanstack-demo.tsx](https://github.com/shadcn-ui/ui/blob/e62c9435fff729a175f38983dee73b2cb4f6a069/apps/v4/registry/new-york-v4/examples/form-tanstack-demo.tsx#L44-L165) · [More projects using TanStack Form →](https://dashboard.exa.ai/playground/search?q=React%20projects%20that%20use%20%40tanstack/react-form&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```typescript
import React from 'react';
import { useForm } from '@tanstack/react-form';

export function ContactForm() {
  const form = useForm({
    defaultValues: { email: '' },
    onSubmit: ({ value }) => console.log(value),
  });
  return (
    <form onSubmit={(event) => { event.preventDefault(); form.handleSubmit(); }}>
      <form.Field name="email">
        {(field) => <input value={field.state.value} onChange={(event) => field.handleChange(event.target.value)} />}
      </form.Field>
      <button type="submit">Save</button>
    </form>
  );
}

```

From [quick-start.md](https://github.com/TanStack/form/blob/main/docs/framework/react/quick-start.md)

### Formik

[GitHub](https://github.com/jaredpalmer/formik) · [npm](https://www.npmjs.com/package/formik) · [Docs](https://formik.org/docs/overview)

Formik handles three parts of a React form: getting values in and out of form state, validation and error messages, and submission. The `useFormik` hook holds the values and returns the handlers that each input calls. Validation is either a function the app writes or a Yup schema passed as `validationSchema`, which Formik turns into errors keyed by field name. `FieldArray` adds helpers for lists of repeated values.

- Downloads / mo: 23.2M
- Stars: 34.3K
- Last release: 2.4.9
- License: Apache-2.0
- Capabilities: [From the Formik docs](https://formik.org/docs/overview)

**Strengths**

- **Combines field and form validation.** Validate individual fields or check related values across the form.
- **Includes array editing helpers.** Insert, remove, and reorder repeated form values with FieldArray.

**Watch out for**

- **Sync submits need manual completion.** Call setSubmitting(false) when a synchronous submit handler finishes.

```sh
npm i formik
```

**onyx-dot-app/onyx** (33.4K stars)

[onyx-dot-app/onyx](https://github.com/onyx-dot-app/onyx) 

```typescript
export function useOnChangeValue<T = any>(
  name: string,
  f?: (value: T) => void
) {
  const [, , helpers] = useField<T>(name);
  return useCallback(
    (value: T) => {
      helpers.setValue(value);
      helpers.setTouched(true);
      f?.(value);
    },
    [helpers, f]
  );
}

```

[web/src/hooks/formHooks.ts](https://github.com/onyx-dot-app/onyx/blob/3cd29fc01726566d9d1da6afcd4292cf29308e48/web/src/hooks/formHooks.ts#L20-L33) · [More projects using Formik →](https://dashboard.exa.ai/playground/search?q=React%20projects%20that%20use%20formik&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```typescript
import React from 'react';
import { useFormik } from 'formik';

export function SignupForm() {
  const form = useFormik({
    initialValues: { email: '' },
    onSubmit: (values) => console.log(values),
  });
  return (
    <form onSubmit={form.handleSubmit}>
      <input name="email" type="email" value={form.values.email} onChange={form.handleChange} />
      <button type="submit">Save</button>
    </form>
  );
}

```

From [tutorial.md](https://github.com/jaredpalmer/formik/blob/main/docs/tutorial.md)

### @rc-component/form

[GitHub](https://github.com/react-component/field-form) · [npm](https://www.npmjs.com/package/@rc-component/form) · [Docs](https://github.com/react-component/field-form/blob/master/README.md)

@rc-component/form is a form state manager from the Ant Design ecosystem. A `Form` component wraps `Field` components, each bound to a value by its `name`, and `onFinish` receives the values when the form submits. Each field subscribes to its own state, and validation rules run through an async validator. `List` handles repeated fields, and the `useForm` and `useWatch` hooks reach the same form from code.

- Downloads / mo: 7.4M
- Stars: 1.0K
- Last release: 1.8.6
- License: MIT
- Capabilities: [From the @rc-component/form docs](https://github.com/react-component/field-form/blob/master/README.md)

**Strengths**

- **Nested names and lists.** Field names can point into nested objects, and `List` adds and removes repeated fields.

**Watch out for**

- **Renamed package.** Older guides use the previous name, `rc-field-form`. New installs use `@rc-component/form`.

```sh
npm install @rc-component/form
```

**Agenta-AI/agenta** (4.9K stars)

[Agenta-AI/agenta](https://github.com/Agenta-AI/agenta) 

```tsx
export function FormItem({
    name,
    label,
    rules,
    initialValue,
    valuePropName,
    hideLabel,
    className,
    children,
}: FormItemProps) {
    return (
        <Field name={name} rules={rules} initialValue={initialValue} valuePropName={valuePropName}>
            {(control, meta) => {
                const error = meta.errors?.[0]
                // rc hands back the value/onChange pair under the configured prop names.
                const bound = isValidElement(children) ? cloneElement(children, control) : children

                if (hideLabel && !error) return bound

                return (
                    <FieldChrome
                        // No `required` asterisk: these schemas mark nothing on the label.
                        label={hideLabel ? undefined : label}
                        error={error}
                        className={className}
                    >
                        {bound}
                    </FieldChrome>
                )
            }}
        </Field>
    )
}

```

[web/packages/agenta-entity-ui/src/gatewayTool/components/FormItem.tsx](https://github.com/Agenta-AI/agenta/blob/5d783fec3c26a2f545655d6c9da33e17c3e6f67c/web/packages/agenta-entity-ui/src/gatewayTool/components/FormItem.tsx#L28-L60) · [More projects using @rc-component/form →](https://dashboard.exa.ai/playground/search?q=%40rc-component/form%20GitHub%20projects)

**Quickstart**

```tsx
import Form, { Field } from '@rc-component/form';

const Input = ({ value = '', ...props }) => <input value={value} {...props} />;

const Demo = () => {
  return (
    <Form
      onFinish={values => {
        console.log('Finish:', values);
      }}
    >
      <Field name="username">
        <Input placeholder="Username" />
      </Field>
      <Field name="password">
        <Input placeholder="Password" />
      </Field>

      <button>Submit</button>
    </Form>
  );
};

export default Demo;

```

From [README.md](https://github.com/react-component/field-form/blob/master/README.md)

### react-jsonschema-form

[GitHub](https://github.com/rjsf-team/react-jsonschema-form) · [npm](https://www.npmjs.com/package/@rjsf/core) · [Docs](https://rjsf-team.github.io/react-jsonschema-form/docs/)

react-jsonschema-form generates a complete React form from a JSON Schema. The `Form` component from `@rjsf/core` takes the schema and a validator, such as the AJV validator, and renders one input per property with its title, default value, and required flag. A separate `uiSchema` changes widgets and layout without editing the schema. Theme packages render the same form with Material UI, Ant Design, Chakra UI, Mantine, shadcn/ui, and other component sets.

- Downloads / mo: 6.7M
- Stars: 15.9K
- Last release: 6.11.1
- License: Apache-2.0
- Capabilities: [From the react-jsonschema-form docs](https://rjsf-team.github.io/react-jsonschema-form/docs/)

**Strengths**

- **Themes for component kits.** One schema renders with Material UI, Ant Design, Chakra UI, Mantine, and other theme packages.

**Watch out for**

- **Validator installed separately.** Every form needs a validator package, such as the AJV validator, installed next to `@rjsf/core` and `@rjsf/utils`.

```sh
npm install @rjsf/core @rjsf/utils @rjsf/validator-ajv8
```

**Kong/insomnia** (40.2K stars)

[Kong/insomnia](https://github.com/Kong/insomnia) 

```tsx
({ onChange, schema, uiSchema = {}, formData, renderSubmitButton, ...rest }, ref) => {
    const onChangeRef = useLatest(onChange);
    const formDataRef = useLatest(formData);
    const formRef = useRef<Form>(null);
    useEffect(() => {
      if (schema) {
        const formDataWithDefaults = getDefaultFormState(validator, schema, formDataRef.current, schema, true);
        onChangeRef?.current?.(formDataWithDefaults);
      }
    }, [formDataRef, onChangeRef, schema]);

    const mergedUiSchema = {
      'ui:submitButtonOptions': {
        norender: !renderSubmitButton,
      },
      ...uiSchema,
    };

    const handleRjsfChange = (e: IChangeEvent) => {
      onChange?.(e.formData);
    };

    useImperativeHandle(ref, () => ({
      validate: () => {
        return formRef.current?.validateForm() || false;
      },
    }));

    return (
      <ThemedForm
        ref={formRef}
        onChange={handleRjsfChange}
        schema={schema}
        validator={validator}
        uiSchema={mergedUiSchema}
        formData={formData}
        {...rest}
      />
    );
  }

```

[packages/insomnia/src/ui/components/rjsf/index.tsx](https://github.com/Kong/insomnia/blob/911271895758e20ba4eb95ddbb00436510057c8f/packages/insomnia/src/ui/components/rjsf/index.tsx#L22-L61) · [More projects using react-jsonschema-form →](https://dashboard.exa.ai/playground/search?q=%40rjsf/core%20GitHub%20projects)

**Quickstart**

```tsx
import { createRoot } from 'react-dom/client';
import Form from '@rjsf/core';
import { RJSFSchema } from '@rjsf/utils';
import validator from '@rjsf/validator-ajv8';

const schema: RJSFSchema = {
  title: 'Test form',
  type: 'string',
};

createRoot(document.getElementById('app')!).render(<Form schema={schema} validator={validator} />);

```

From [quickstart.md](https://github.com/rjsf-team/react-jsonschema-form/blob/v6.11.1/packages/docs/docs/01-quickstart.md)

### Mantine Form

[GitHub](https://github.com/mantinedev/mantine) · [npm](https://www.npmjs.com/package/@mantine/form) · [Docs](https://mantine.dev/form/use-form/)

Mantine Form provides `useForm`, a hook from the `@mantine/form` package that holds a form's values, errors, and validation rules. Each input spreads `form.getInputProps('email')` to receive its value, change handler, and error, and `form.onSubmit` validates the form before calling the submit function. The `mode` option chooses between uncontrolled and controlled inputs. The package has no dependencies and works with or without Mantine's own components.

- Downloads / mo: 4.4M
- Stars: 32.0K
- Last release: 9.8.1
- License: MIT
- Capabilities: [From the Mantine Form docs](https://mantine.dev/form/use-form/)

**Strengths**

- **Independent of Mantine UI.** The hook works with any inputs, including ones outside Mantine's component library.

```sh
npm install @mantine/form @mantine/core @mantine/hooks
```

**mantinedev/ui.mantine.dev** (3.9K stars)

[mantinedev/ui.mantine.dev](https://github.com/mantinedev/ui.mantine.dev) 

```tsx
export function AuthenticationForm(props: PaperProps) {
  const [type, toggle] = useToggle(['login', 'register']);
  const form = useForm({
    initialValues: {
      email: '',
      name: '',
      password: '',
      terms: true,
    },

    validate: {
      email: (val) => (/^\S+@\S+$/.test(val) ? null : 'Invalid email'),
      password: (val) => (val.length <= 6 ? 'Password should include at least 6 characters' : null),
    },
  });

  return (
    <Paper radius="md" p="lg" withBorder {...props}>
      <Text size="lg" fw={500} c="bright">
        Welcome to Mantine, {type} with
      </Text>

      <Group grow mb="md" mt="md">
        <GoogleButton radius="xl">Google</GoogleButton>
        <TwitterButton radius="xl">Twitter</TwitterButton>
      </Group>

      <Divider
        label="Or continue with email"
        labelPosition="center"
        my="lg"
        styles={{ label: { color: 'var(--mantine-color-bright)', opacity: 0.85 } }}
      />

      <form onSubmit={form.onSubmit(() => {})}>
        <Stack>
          {type === 'register' && (
            <TextInput
              label="Name"
              placeholder="Your name"
              value={form.values.name}
              onChange={(event) => form.setFieldValue('name', event.currentTarget.value)}
              radius="md"
            />
          )}

          <TextInput
            required
            label="Email"
            placeholder="hello@mantine.dev"
            value={form.values.email}
            onChange={(event) => form.setFieldValue('email', event.currentTarget.value)}
            error={form.errors.email && 'Invalid email'}
            radius="md"
          />

          <PasswordInput
            required
            label="Password"
            placeholder="Your password"
            value={form.values.password}
            onChange={(event) => form.setFieldValue('password', event.currentTarget.value)}
            error={form.errors.password && 'Password should include at least 6 characters'}
            radius="md"
          />

          {type === 'register' && (
            <Checkbox
              label="I accept terms and conditions"
              checked={form.values.terms}
              onChange={(event) => form.setFieldValue('terms', event.currentTarget.checked)}
            />
          )}
        </Stack>

        <Group justify="space-between" mt="xl">
          <Anchor
            component="button"
            type="button"
            c="bright"
            opacity={0.85}
            onClick={() => toggle()}
            size="xs"
          >
            {type === 'register'
              ? 'Already have an account? Login'
              : "Don't have an account? Register"}
          </Anchor>
          <Button type="submit" radius="xl">
            {upperFirst(type)}
          </Button>
        </Group>
      </form>
    </Paper>
  );
}

```

[lib/AuthenticationForm/AuthenticationForm.tsx](https://github.com/mantinedev/ui.mantine.dev/blob/963b955c5cef4bcc6008d40a0431e46ef771c254/lib/AuthenticationForm/AuthenticationForm.tsx#L19-L114) · [More projects using Mantine Form →](https://dashboard.exa.ai/playground/search?q=%40mantine/form%20GitHub%20projects)

**Quickstart**

```tsx
import { Button, Checkbox, Group, TextInput } from '@mantine/core';
import { useForm } from '@mantine/form';

function Demo() {
  const form = useForm({
    mode: 'uncontrolled',
    initialValues: {
      email: '',
      termsOfService: false,
    },

    validate: {
      email: (value) => (/^\S+@\S+$/.test(value) ? null : 'Invalid email'),
    },
  });

  return (
    <form onSubmit={form.onSubmit((values) => console.log(values))}>
      <TextInput
        withAsterisk
        label="Email"
        placeholder="your@email.com"
        key={form.key('email')}
        {...form.getInputProps('email')}
      />

      <Checkbox
        mt="md"
        label="I agree to sell my privacy"
        key={form.key('termsOfService')}
        {...form.getInputProps('termsOfService', { type: 'checkbox' })}
      />

      <Group justify="flex-end" mt="md">
        <Button type="submit">Submit</Button>
      </Group>
    </form>
  );
}

```

From [use-form](https://mantine.dev/form/use-form/)

### React Final Form

[GitHub](https://github.com/final-form/react-final-form) · [npm](https://www.npmjs.com/package/react-final-form) · [Docs](https://final-form.org/docs/react-final-form/getting-started)

React Final Form is a thin React wrapper around Final Form, a form state library built on subscriptions. A `Form` component takes `onSubmit` and renders the form through a `render` function, and each `Field` connects one input by its `name`. Components subscribe only to the parts of form state they display, so a change renders only those components again. The only peer dependencies are React and Final Form.

- Downloads / mo: 2.7M
- Stars: 7.4K
- Last release: 7.0.1
- License: MIT
- Capabilities: [From the React Final Form docs](https://final-form.org/docs/react-final-form/getting-started)

**Strengths**

- **Subscribes to selected form state.** Choose the form state updates each component subscribes to.
- **Combines sync and async validation.** Return validation errors immediately or resolve them from a promise.

**Watch out for**

- **Array helpers require additional packages.** Install array packages to add insert, move, and remove helpers.

```sh
npm install --save final-form react-final-form
```

**marmelab/react-admin** (27.0K stars)

[marmelab/react-admin](https://github.com/marmelab/react-admin) 

```typescript
const useInitializeFormWithRecord = record => {
    const form = useForm();

    useEffect(() => {
        if (!record) {
            return;
        }

        const initialValues = form.getState().initialValues;
        const initialValuesMergedWithRecord = merge({}, initialValues, record);
        form.initialize(initialValuesMergedWithRecord);
    }, [form, JSON.stringify(record)]); // eslint-disable-line react-hooks/exhaustive-deps
};

```

[packages/ra-core/src/form/useInitializeFormWithRecord.ts](https://github.com/marmelab/react-admin/blob/872480a9a4a8491066eb8b1f0f651e48f47e9080/packages/ra-core/src/form/useInitializeFormWithRecord.ts#L8-L20) · [More projects using React Final Form →](https://dashboard.exa.ai/playground/search?q=React%20projects%20that%20use%20react-final-form&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```typescript
import { Form, Field } from 'react-final-form';

export default function App() {
  return (
    <Form onSubmit={(values) => console.log(values)}
      render={({ handleSubmit }) => (
        <form onSubmit={handleSubmit}>
          <Field name="firstName" component="input" placeholder="First Name" />
          <button type="submit">Submit</button>
        </form>
      )}
    />
  );
}

```

From [getting-started](https://final-form.org/docs/react-final-form/getting-started)

### Redux Form

[GitHub](https://github.com/redux-form/redux-form) · [npm](https://www.npmjs.com/package/redux-form) · [Docs](https://redux-form.com/8.3.0/docs/GettingStarted.md/)

Redux Form keeps the values and validation state of an HTML form in a Redux store, through React Redux. `reduxForm` wraps a form component and gives it `handleSubmit`, and each `Field` connects one input by name. The form reducer joins the store under the `form` key. The README points new projects to [React Final Form](#react-final-form), which the same author built afterward.

- Downloads / mo: 2.5M
- Stars: 12.5K
- Last release: 8.3.10
- License: MIT
- Capabilities: [From the Redux Form docs](https://redux-form.com/8.3.0/docs/GettingStarted.md/)

**Watch out for**

- **Replaced for new projects.** The README recommends React Final Form, whose `Field` and `Form` APIs are close enough for migration.
- **Store updates on each keystroke.** Every change dispatches a Redux action, so the store's reducers run as the user types.

```sh
npm install redux-form@8.3.10 redux@4 react-redux@8
```

**marmelab/react-admin** (27.0K stars)

[marmelab/react-admin](https://github.com/marmelab/react-admin) 

```tsx
render() {
    const {
        className,
        defaultValue,
        label,
        source,
        resource,
        validate,
        ...rest
    } = this.props;

    return (
        <FormControl
            fullWidth
            margin="normal"
            className={className}
            {...sanitizeRestProps(rest)}
        >
            <InputLabel htmlFor={source} shrink>
                <FieldTitle
                    label={label}
                    source={source}
                    resource={resource}
                    isRequired={isRequired(validate)}
                />
            </InputLabel>
            <FieldArray
                name={source}
                defaultValue={defaultValue}
                component={this.renderFieldArray}
                validate={validate}
                isRequired={isRequired(validate)}
            />
        </FormControl>
    );
}

```

[packages/ra-ui-materialui/src/input/ArrayInput.js](https://github.com/marmelab/react-admin/blob/f5bea90d00511c11babe033a1d0e21d036950677/packages/ra-ui-materialui/src/input/ArrayInput.js#L62-L97) · [More projects using Redux Form →](https://dashboard.exa.ai/playground/search?q=redux-form%20GitHub%20projects)

**Quickstart**

```tsx
import React from 'react';
import { Field, reduxForm } from 'redux-form';

const ContactForm = ({ handleSubmit }) => (
  <form onSubmit={handleSubmit}>
    <Field name="email" component="input" type="email" />
    <button type="submit">Save</button>
  </form>
);
export default reduxForm({ form: 'contact' })(ContactForm);

```

From [GettingStarted.md](https://redux-form.com/8.3.0/docs/GettingStarted.md/)

## FAQ

### Which React form library should I use?

[React Hook Form](#react-hook-form) covers most forms built from native or component library inputs, with validation through Zod, Yup, and other schema libraries. [TanStack Form](#tanstack-form) adds type-safe field components and runs on several frameworks. To build a form from a JSON Schema without writing each input, use [react-jsonschema-form](#rjsf-core).

### TanStack Form vs React Hook Form: which should I use?

React Hook Form connects inputs with `register` and validates them when the form is submitted, with schema libraries plugged in through resolvers. TanStack Form renders each input through a typed `form.Field` component with its own validators, including async ones, and accepts Standard Schema validators such as Zod directly. TanStack Form also has adapters for frameworks other than React.

### How do I use React Hook Form with Zod?

Install `@hookform/resolvers` and `zod`, define the form as a Zod schema, and pass `zodResolver(schema)` as the `resolver` option to `useForm`. Validation errors then appear in `formState.errors` under each field's name.

### Is Redux Form still recommended?

For new projects, no. The Redux Form README says form state rarely belongs in Redux, and its author built [React Final Form](#react-final-form) as the replacement, with a component API close enough for migration. Redux Form remains for apps that read or change form data from far outside the form.

### React Hook Form vs Formik: which should I use?

Formik keeps values in form state and passes them to each field, with Yup schemas accepted through `validationSchema`. React Hook Form registers native inputs with `register` and has no dependencies. Both handle validation, error messages, and submission.

## How this page was built

Data checked Nov 19, 2026.

Reproduce it with the Exa API:

```json
{
  "endpoint": "/search",
  "body": {
    "query": "React form libraries React Hook Form Formik TanStack Form React Final Form validation field arrays code examples",
    "numResults": 5
  }
}
```

Docs: https://exa.ai/docs/reference/search
