Vesyl UI

Field

Low-level layout primitives for building form fields. For form integration with validation, see Form.

Components

ComponentDescription
FieldFlex container with orientation variants
FieldLabelLabel element for the field
FieldContentGroups title and description (flex-1)
FieldTitleBold title text
FieldDescriptionMuted helper text
FieldGroupGroups 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

PropTypeDefaultDescription
orientation'vertical' | 'horizontal' | 'responsive''vertical'Layout direction