PhoneField
Country picker plus a tel input that formats as you type and reports the number as E.164.
Playground
defaultCountry
<PhoneField
label="Phone number"
defaultCountry="US"
onChange={(e164) => setPhone(e164)}
/><PhoneField
label="Phone number"
defaultCountry="US"
onChange={(e164) => setPhone(e164)}
/>