Skip to content

Phone Number VueCountry-aware phone input for Vue 3

Headless composable that handles country selection, digit normalization, calling codes, mask patterns, and phone validation — no masking library needed.

Phone Number Vue Logo
INTERACTIVE DEMO

Try the usePhoneNumber logic live

Select a country and type numbers to see normalization, validation, and mask properties in real-time.

State Inspector

selectedCountryIndia (IN)
callingCode+91
localPhone""
mask+91 ##### #####
formattedPhone+91 ...
isValidfalse

MIT License. Copyright Er Amit Gupta