TextInput

FormField

Use a FormField to provide an accessible label and other features as well as a more streamlined API.

Surname, family name
<DemoLayout>
  <FormField
    input={TextInput}
    label="Last Name"
    caption="Surname, family name"
    iconStart={<IconAccountBox />}
    required />
</DemoLayout>