# FieldError (@salmonui/inputs/form)

> The FieldError component of @salmonui/inputs/form: The error part for custom layouts: renders the enclosing field's error (or children) with the id its control points at.

Canonical: https://salmonui.dev/docs/reference/inputs/form/FieldError

```ts
import { FieldError } from '@salmonui/inputs/form';
```

Entry index: https://salmonui.dev/docs/reference/inputs/form (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/inputs/form.md).

## Reference

Kind: component

```ts
function FieldError({ children, className, style }: {
    readonly children?: ReactNode;
    readonly className?: string;
    readonly style?: CSSProperties;
}): ReactNode;
```

The error part for custom layouts: renders the enclosing field's
error (or `children`) with the id its control points at.
