Input combines field, label, hint, and error parts for collecting and validating user text input.
Label is automatically linked to the field. Clicking the label focuses the input. aria-labelledby and aria-describedby are set automatically.
<Field>
<Field.Label>Username</Field.Label>
<Input>
<Input.Field placeholder='Enter your username' />
</Input>
<Field.Description>Your unique username for login</Field.Description>
</Field>Uses aria-required on the field. Screen readers announce as required.
<Field required>
<Field.Label>Email *</Field.Label>
<Input>
<Input.Field type='email' placeholder='Required field' />
</Input>
</Field>When invalid, the error message is linked via aria-errormessage or aria-describedby. The error uses role="alert" for live announcement.
<Field invalid={invalid} required>
<Field.Label>Email</Field.Label>
<Input>
<Input.Field value={value} onChange={handleChange} />
</Input>
<Field.ErrorMessage>Please enter a valid email</Field.ErrorMessage>
</Field>Disabled inputs cannot be focused or edited.
<Field disabled>
<Field.Label>Organization</Field.Label>
<Input>
<Input.Field value='Acme Corporation' />
</Input>
</Field>Read-only inputs are focusable and selectable but cannot be edited. Uses aria-readonly.
<Field readOnly>
<Field.Label>Account ID</Field.Label>
<Input>
<Input.Field value='ACC-2025-XYZ' />
</Input>
</Field>Input that automatically receives focus on mount.
<Field>
<Field.Label>Search</Field.Label>
<Input>
<Input.Field placeholder='I should be focused' autoFocus />
</Input>
</Field>