

Every state


default


focus


filled


error


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "website" | Input id; the label, description and error point at it. |
| name | string | "website" | Form field name. |
| label | string | "Website" | Visible label. |
| description | string | – | Help text under the field. |
| prefix | string | "https://" | Fixed text before the value. |
| suffix | string | ".com" | Fixed text after the value. |
| placeholder | string | – | Placeholder inside the field. |
| defaultValue | string | – | Starting value. |
| required | boolean | – | Marks the field required (asterisk and the required attribute). |
| disabled | boolean | – | Disables the field. |
| error | string | – | Error message; makes the field invalid and links the message to it. |
| className | string | – | Extra classes on the outer Field. |


