Form Field

Displays a form field with a label, input, and optional helper text.

Enter your email address to receive updates and news.
PropTypeDefault
labelstring
namestring
type"text" | "email" | "password" | "search""text"
size"1" | "2" | "3""2"
leftReact.ReactNode
rightReact.ReactNode
helperstring
invalidbooleanfalse
disabledbooleanfalse
readOnlybooleanfalse
placeholderstring
maxLengthnumber
minLengthnumber
aria-describedbystring
aria-labelstring
visuallyHideLabelbooleanfalse

You can compose one slot on the left and one on the right.

The invalid prop indicates that the field’s value is invalid. Fields are styled as valid by default, though built-in client-side validation still applies. When a field is invalid, use the invalidText prop to display an error message with clear instructions for correction.

The email address entered is already taken