Field
A form field wrapper that connects a Label to any input control. Supports required, hint text, and an error message announced via role="alert".
With Input
Field wraps any form control with a connected label via htmlFor.
Required
Pass required to show the asterisk on the label.
With hint
hint renders helper text below the control when there is no error.
Letters, numbers, and underscores only.
With error
error replaces the hint and is announced immediately by screen readers via role="alert".
Password must be at least 8 characters.
Password must be at least 8 characters.
With Select
Works with any form control — not just Input.
With Textarea
Max 160 characters.