

Every state


default


focus


filled


suggestion


suggestion-focus


error


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "email" | Input id; the label, description, suggestion and error point at it. |
| name | string | "email" | Form field name. |
| label | string | "Email address" | Visible label. |
| description | string | – | Help text under the field. |
| placeholder | string | "name@example.com" | Placeholder inside the field. |
| defaultValue | string | – | Starting value. |
| suggest | (email: string) => string | null | – | Returns a corrected address for a likely typo, or null; the default knows a few common misspellings. |
| suggestion | string | – | Starting suggestion, e.g. for a value the server already checked. |
| invalidMessage | string | "Enter an email address like name@example.com." | Shown on leaving the field when the value isn't shaped like an email. |
| required | boolean | – | Marks the field required (asterisk and the required attribute). |
| error | string | – | Error message; makes the field invalid and links the message to it. |
| disabled | boolean | – | Disables the field. |
| className | string | – | Extra classes on the outer Field. |
More input groups
All 14input-group-06 is in UI ProGet UI Pro, €199


