Vue Phone Number Input

screenshot of Vue Phone Number Input
nuxt
vue
scss

A phone number input made with Vue JS (format & valid phone number)

Overview

The vue-phone-number-input is a VueJS plugin for creating a beautiful text field to format phone numbers. It offers features like setting preferred countries, phone number validation, country code retrieval options, phone number formatting while typing, keyboard accessibility, and more. Please note that this plugin is unmaintained and offers separate versions for Vue 2 and Vue 3.

Features

  • Preferred Countries Setting: Set preferred countries for phone numbers.
  • Validator State: Indicates validity with color change.
  • Country Code Retrieval Options: Get country code via the browser or from a network service.
  • Phone Number Formatting: Formats phone number as you type.
  • Country Search: Easily search for your country in the list.
  • Keyboard Accessibility: Navigate countries list using arrow keys.
  • Auto Focus: Focuses on the phone number input after selecting a country.
  • Translations & VueInputUi Options: Customize with various options and translations.
nuxt
Nuxt

nuxt.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

vue
Vue

Vue.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

scss
SCSS

SCSS is a preprocessor scripting language that extends the capabilities of CSS by adding features such as variables, nesting, and mixins. It allows developers to write more efficient and maintainable CSS code, and helps to streamline the development process by reducing repetition and increasing reusability.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

Stylelint

Stylelint is a modern linter for CSS that helps you avoid errors and enforce consistent styling conventions. It provides rules for detecting errors and warnings, and can be configured to match your specific project's requirements.