Docs
Input Phone
Input Phone
This component provides phone number input based on the selected country.
About
The InputPhone
component is built on top of React Phone Number Input.
Installation
npx nyxbui@latest add input-phone
Usage
import { InputPhone } from "~/components/ui/input-phone"
const [value, setValue] = React.useState("")
return <InputPhone value={value} onChange={setValue} />