Customizable phone input component with proper validation for any country. Built on top of shadcn.
Shadcn Phone Input is a phone input component created as part of the Shadcn design system. It offers users a customizable and stylish input option conforming to the sleek and modern design principles of Shadcn.
To install the Shadcn Phone Input component, add the following code snippet to your project:
npm install shadcn-phone-input
Make sure to use version 0.2.1 of the cmdk package for compatibility.
Shadcn Phone Input is a versatile component designed to handle phone inputs within applications. Offering customization options and out-of-the-box styling, it aligns with the sleek and modern design principles of Shadcn. With the added feature of country selection, this component provides a comprehensive solution for phone input needs in projects.