About
A text input that auto-formats digits into a country-aware phone number mask with a live digit-completion counter.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Input Mask Phone to your project and fits it to your theme.
Code
How Input Mask Phone is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { InputMaskPhone } from "@/components/ui/input-mask-phone";
export default function InputMaskPhoneDemo() {
return (
<div className="flex w-full max-w-sm flex-col gap-2 p-6">
<label className="text-sm font-medium text-foreground">
Phone number
</label>
<InputMaskPhone />
</div>
);
}
















