

Every state


default


focus


national


detected-gb


detected-us


unknown


error


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "mobile" | Input id; the label, description and messages point at it. |
| name | string | "mobile" | Form name of the hidden full number in E.164 (+447700900123). |
| label | string | "Mobile number" | Visible label. |
| description | string | – | Help text under the field; the default explains the + prefix for other countries. |
| country | "NL" | "GB" | "DE" | "BE" | "FR" | "US" | "NL" | Country for national numbers (06…, 07700…); sets the placeholder too. |
| defaultValue | string | – | Starting text, national or international (+44, 0044). |
| onValueChange | (value: { country?: PhoneAutoDetectCountry; e164: string }) => void | – | Fires with the detected country and the full number (empty while incomplete). |
| required | boolean | – | Marks the field required. |
| disabled | boolean | – | Disables the field. |
| error | string | – | Error message; makes the field invalid. |
| className | string | – | Extra classes on the outer Field. |
More phone inputs
All 3phone-input-01 is in UI ProGet UI Pro, €199

