Skip to main content
The Field component provides a complete form field structure with label, input control, description, validation, and error messaging.

Installation

Usage

Components

Field (Root)

string
Field name for form submission.
boolean
Disable the entire field.
function
Custom validation function.

FieldLabel

Labels the field control.

FieldControl

string
default:"md"
Size variant from Input component.
string
default:"default"
Visual variant from Input component.
The input control styled with Input variants.

FieldDescription

Help text for the field.

FieldError

Displays validation error messages.

FieldValidity

Provides programmatic access to validation state.

Examples

Complete Field

With Validation

Disabled Field

Accessibility

  • Built on @base-ui/react for ARIA support
  • Automatic label association
  • Error announcements to screen readers
  • Proper disabled states
  • Validation feedback