

Every state


default


focus


typing


filled


error


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "iban" | Input id; the label, description and error point at it. |
| name | string | "iban" | Form field name. |
| label | string | "IBAN" | Visible label. |
| description | string | – | Help text; the expected format is added after it. |
| mask | { pattern: string; example: string; inputMode: "text" | "numeric"; autoComplete: string; uppercase?: boolean } | IBAN, "AA99 AAAA 9999 9999 99" | The mask as data: A = letter, 9 = digit, * = either, anything else is a separator typed for you. Also sets the keyboard and autofill token. |
| defaultValue | string | – | Starting value, formatted on load. |
| required | boolean | – | Marks the field required. |
| disabled | boolean | – | Disables the field. |
| error | string | – | Error from outside; overrides the field's own length error. |
| lengthError | string | "That's too short. An IBAN looks like {format}." | Shown on blur when the value is incomplete; {format} becomes the example. |
| onValueChange | (raw: string, formatted: string) => void | – | Called with the bare characters and the formatted text. |
| className | string | – | Extra classes on the outer Field. |
More input groups
All 14input-group-10 is in UI ProGet UI Pro, €199


