yarcl
    Preparing search index...

    Function Label

    • A standalone form label, for layouts Field doesn't cover: a label beside its control, one label for several controls, or a custom control. Connect it with htmlFor, or give it an id and point the control's aria-labelledby at it.

      Parameters

      Returns Element

      <Label htmlFor="email" required>Email</Label>
      <Input id="email" type="email" required />