Field
Low-level layout primitives for building form fields. For form integration with validation, see Form.
Components
| Component | Description |
|---|---|
Field | Flex container with orientation variants |
FieldLabel | Label element for the field |
FieldContent | Groups title and description (flex-1) |
FieldTitle | Bold title text |
FieldDescription | Muted helper text |
FieldGroup | Groups multiple fields with consistent spacing |
Vertical (default)
Horizontal
Label on left, input on right.
Use dark theme
Checkbox with label
Field group
Label
Label is the standalone styled <label> — the same typography as FieldLabel, for use outside a Field. Associate it with a control by setting htmlFor to the control’s id. Inside a Field, prefer FieldLabel, which also reflects the field’s disabled/peer state.
Label accepts all native <label> props (htmlFor, className, …).
Field props
| Prop | Type | Default | Description |
|---|---|---|---|
orientation | 'vertical' | 'horizontal' | 'responsive' | 'vertical' | Layout direction |