This project was generated with Angular CLI version 17.2.2.
There is another version using google-libphonenumber at Ngx-bs-tel-input Difference: Google's libphonenumber vs libphonenumber-js Smaller footprint: 145 kB (65 kB code + 80 kB sufficient metadata) vs the original Google's 550 kB (350 kB code + 200 kB full metadata).
An Angular package.
Install bootstrap
npm install bootstrap
Install libphonenumber-js
npm install libphonenumber-js
Working demo: demo
Enter and validate international phone numbers validate by libphonenumber-js
Based on ngx-intl-tel-input, Bootstrap 5 version. Removed ngx-bootstrap and use Bootstrap 5.3 for the dropdown control