

Every state


default


focus


yes


no


error


gb


us


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "address-check" | Base id; the radios are <id>-suggested and <id>-entered. |
| name | string | "addressChoice" | Radio group name; submits suggested or entered. |
| country | "NL" | "GB" | "DE" | "BE" | "FR" | "US" | "NL" | Line format and the example addresses. |
| entered | AddressCheckAddress | – | What the person typed: line1, line2, postcode, town, state. |
| suggested | AddressCheckAddress | – | The normalised address; parts that differ from entered are marked. |
| choice | "suggested" | "entered" | – | Starting choice; none by default. |
| onChoose | (choice) => void | – | Called when a choice is made. |
| error | string | – | Error under the choices, e.g. when none is chosen. |
| disabled | boolean | – | Disables both choices. |
| className | string | – | Extra classes on the fieldset. |
More address inputs
All 5address-input-03 is in UI ProGet UI Pro, €199


