FieldError.
Consistent accessible validation message.
Please enter a valid email address.
The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.
Props & API reference
Parameters available in the shared component, including value types, requirements and accepted options.
| Parameter | Type | Required | Default | Possible values | Description |
|---|---|---|---|---|---|
children | ReactNode | Yes | — | — | Validation error text. |
id | string | No | — | — | Identifier for linking to a field's aria-describedby. |
className | string | No | — | — | Additional CSS class on the outer component element. |