✦ HookForm FieldTwitterTwitter (opens in a new tab)GithubGithub (opens in a new tab)
  • Introduction
  • Quick start
  • Guide
    • Create Field
    • Create Own Field
    • Form
  • API Reference
    • Create Field API
    • Form API
    • Form Control API
    • Form Description API
    • Form Field API
    • Form Item API
    • Form Label API
    • Form Message API
    • Use Form Field API
    • Use Form State API
  • Introduction
  • Quick start
  • Guide
    • Create Field
    • Create Own Field
    • Form
  • API Reference
    • Create Field API
    • Form API
    • Form Control API
    • Form Description API
    • Form Field API
    • Form Item API
    • Form Label API
    • Form Message API
    • Use Form Field API
    • Use Form State API
      • Returns
      • Example
  • Twitter (opens in a new tab)
  • Github (opens in a new tab)

On This Page

  • Returns
  • Example
Question? Give us feedback → (opens in a new tab)Edit this page on GitHub
API Reference
Use Form State API

useFormState

useFormState is a custom hook that provides access to the overall form state, such as errors, touched fields, and submission status.

Returns

An object containing the form's state and helpers.

Example

const { errors, isSubmitting } = useFormState();
Use Form Field API

MIT 2025 © hookform-field.