Field.
Label, input and hint assembled for consistent forms.
This is visible to teammates.
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 | — | — | FieldLabel, input control and FieldHint content. |
className | string | No | — | — | Additional field container class. |
htmlFor | string | No | — | — | Use on FieldLabel to associate it with a control ID. |
id | string | No | — | — | Use on the input control to match FieldLabel htmlFor. |