# Telephone

    label="Telephone Number"
    pattern-error-message="Must follow the XXX-XXX-XXXX format">

It is important to note that the tel input type does not provide any default validation (because phone number patterns can vary), so it is important to use it in conjunction with the pattern attribute. Using the tel input.


Before you decide to ditch the tel input type for the standard text field, there are still some benefits to using tel:

  • It can provide a custom keyboard for mobile and touch enabled devices
  • Browser and third-party autocomplete tools can use it to speed up your user's form entry

# Usage

For more information on how to use the form field component and it's available configurations, check out the documentation.