Skip to content

Phone field

Pro

A phone number with a searchable country picker; formats as typed and reports E.164. Not an M3 component (@windmorph/react-pro).

import { PhoneField } from '@windmorph/react-pro';

Part of Windmorph Pro, paid components on the free core, not on sale yet. See the Pro guide for what it includes and to register interest.

Playground

Code

import { PhoneField } from '@windmorph/react-pro'; <PhoneField  label="Phone"  priorityCountries={['GB', 'US', 'CA', 'AU']}  errorMessage="Enter a valid phone number"/>

Examples

An optional phone at sign-up

Filled (the default) or outlined

Flags, when the app wants them

Required, read-only, disabled, and another locale

Density, from 56px to 44px