FormFieldset

Basic Usage

Wrap any number of FormFields in a FormFieldset to semantically group them. A brief, descriptive legend is especially useful for users of screen readers and other assistive technologies.

Login
<FormFieldset legend="Login">
  <DemoLayout>
    <FormField label="Email">
      <TextInput type="email" />
    </FormField>
    <FormField label="Password">
      <TextInput type="password" />
    </FormField>
  </DemoLayout>
</FormFieldset>