

Every state


default


focus


help-focus


help-open


filled


error


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "vat-number" | Input id. |
| name | string | "vatNumber" | Form field name. |
| label | string | "VAT number" | Visible label. |
| description | string | – | Help text under the field. |
| placeholder | string | "e.g. NL123456789B01" | Placeholder inside the field. |
| defaultValue | string | – | Starting value. |
| helpLabel | string | "Where to find your VAT number" | Accessible name of the info button. |
| helpTitle | string | "Where to find it" | First line of the popover. |
| helpText | string | – | The explanation in the popover. |
| open | boolean | – | Start with the help open (previews). |
| validate | (value: string) => string | undefined | – | Checks the value on leaving the field; the default is a rough EU VAT shape check. |
| 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-08 is in UI ProGet UI Pro, €199


