Text fields, textareas and their labels, with a soft indigo focus glow and inline validation that never shifts the layout.
<Field label="Business name" help="As it appears to customers">
<Input placeholder="Acme Ltd" />
</Field>
<Field label="Email address" error="Enter a valid email address">
<Input defaultValue="not-an-email" invalid />
</Field>
<Field label="Notes">
<Textarea rows={3} placeholder="Anything we should know" />
</Field>| Prop | Type | Description |
|---|---|---|
| invalid | boolean | Marks the field in the danger tokens. |
| disabled | boolean | Inactive, non-interactive. |
| label / help / error | string | On the Field wrapper. The error line reserves its own height. |