Playground
select
SVG
national
e164
filled
default
Country
-
Model value
-
Valid
No
sh
$ npm add v-phone-input flag-iconssh
$ pnpm add v-phone-input flag-iconssh
$ yarn add v-phone-input flag-iconssh
$ bun add v-phone-input 2flag-iconsts
import 'flag-icons/css/flag-icons.min.css';
import 'v-phone-input/styles';
import { createVPhoneInput, selectPhoneCountryInput, VPhoneCountryFlagSvg } from 'v-phone-input';
const vPhoneInput = createVPhoneInput({
...selectPhoneCountryInput,
countryDisplayComponent: VPhoneCountryFlagSvg,
})