# FieldScope

> The parts every labeled form field composes: its caption, supporting copy, validation message and leading or trailing addons, plus the scope that hands them the ids their field generated.

```ts
import { FieldScope } from "@sdxc/ui";
```

The stacked host of a labeled field. It publishes the ids and message its field resolved,
so each part wires itself to the control wherever the caller writes it.

## Props

| Prop | Type | Description |
| --- | --- | --- |
| `context?` | `Context` | What the parts read; without it they draw unwired, under the default `field` slot. |

Also accepts everything in `TagProps<"div">`.


## Also exported

- `FieldLabel`
- `FieldDescription`
- `FieldErrorMessage`
- `FieldPrefix`
- `FieldSuffix`
- `wireField`
