Skip to main content
The phone element renders a phone-number input with a country selector. It stores and emits phone numbers in E.164 format.

Factory

Example

Options

  • onlyCountries: restrict the selector to a specific set of countries.
  • preferredCountries: pin these countries to the top of the selector list; the rest follow alphabetically.

Value

Emitted in E.164 format (for example, '+14155551234'). null until the shopper types a valid number.

FieldError.field

Always 'phone'.

Inside Checkout

See also

Last modified on July 17, 2026