Fieldset

When to use

Use to group related form fields with a legend/title. Can be toggleable.

Guidelines

  • Group related fields: Personal info, address, payment should each be a separate fieldset.
  • Toggleable for advanced: Use the toggleable prop to collapse rarely-used sections.

How it works

Personal Info

Name, email, and other details.