Did you know?dyk.si

Phone Number Input

A phone field with a small country flag and dial-code picker before the number.

<input type="tel" autocomplete="tel">

When to use it

In sign-up and orders with an international audience.

Common mistake

Don’t force one rigid number format.

Accessibility

Use type=tel so the numeric keypad and autofill appear.

Name in code

HTML/CSS<input type="tel" autocomplete="tel">
Reactreact-phone-number-input
Jetpack ComposeOutlinedTextField + KeyboardType.Phone
SwiftUITextField + .keyboardType(.phonePad)

Ready prompt for your coding agent

Add a Phone Number Input to this screen. What it is: A phone field with a small country flag and dial-code picker before the number. Implement with: <input type="tel" autocomplete="tel"> (HTML/CSS). Accessibility: Use type=tel so the numeric keypad and autofill appear. When to use it: In sign-up and orders with an international audience. Avoid: Don’t force one rigid number format. Reuse the project's existing design tokens, spacing and component conventions.

Or compose a whole page from this element and others →

Prompts are in English for the most precise results with coding agents.