Feature Description: Phone Number Input Component
Feature Name: PhoneNumberInput
Category: Form Controls
Description:
The PhoneNumberInput component is designed to allow users to input and format phone numbers in a standardized and user-friendly manner. This component is essential for applications that require phone number input with country code selection, automatic formatting, and validation.
Why It's Needed:
Currently, the Shadcn UI library lacks a specialized phone number input component that handles country code selection, formatting, and validation in one package. Adding this component will enhance the form controls offering, providing developers with a ready-to-use solution for phone number inputs, which are common in many web applications.
Feature description
Feature Description: Phone Number Input Component Feature Name: PhoneNumberInput
Category: Form Controls
Description: The PhoneNumberInput component is designed to allow users to input and format phone numbers in a standardized and user-friendly manner. This component is essential for applications that require phone number input with country code selection, automatic formatting, and validation.
Why It's Needed: Currently, the Shadcn UI library lacks a specialized phone number input component that handles country code selection, formatting, and validation in one package. Adding this component will enhance the form controls offering, providing developers with a ready-to-use solution for phone number inputs, which are common in many web applications.
Affected component/components
No response
Additional Context
<PhoneNumberInput label="Phone Number" defaultCountry="US" required onChange={(value) => console.log(value)} />
Before submitting