✦ 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
      • Props
      • Example
    • Form Message API
    • Use Form Field API
    • Use Form State API
  • Twitter (opens in a new tab)
  • Github (opens in a new tab)

On This Page

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

FormLabel

<FormLabel /> renders a label for a form field, supporting custom HTML elements and styling.

Props

NameTypeDescription
childrenReactNodeThe label text or content.
componentstringThe HTML element to render (default: 'label').
classNamestringAdditional CSS classes.

Example

<FormLabel component="label" className="font-bold">
  Email Address
</FormLabel>
Form Item APIForm Message API

MIT 2025 © hookform-field.