GC Design System Components Installation Page templates Contact us Get involved Find a demo GC Design System Components

Fieldset
<gcds-fieldset>

Also called: form group.

A fieldset is a group of multiple form components or elements.

Fieldset component preview

Fieldset anatomy

  1. The fieldset legend acts as a heading to identify the grouped form components that follow. Legend text is left aligned and in sentence case (only the initial letter is capitalized).
  2. The fieldset hint text gives specific requirements for completing the grouped form components successfully.
  3. The component grouping is the group of related form components that the legend describes.
Fieldset anatomy showing the labels “legend” and ”hint text”. The component grouping contains two different form fields, each with its own label heading and hint text.

Design and accessibility for fieldsets

A fieldset combines the fieldset and legend elements to group together related form fields or components. It helps users of screen readers understand that inputs are all related to that question.

Group information

Write fieldset content to support task success

Help us improve

Have questions or a request? Give feedback on our contact form.

Something's wrong? Raise it through GitHub with an account. You'll have access to the team's direct responses, progress made on your issue, and issues raised by others.

Give feedback Report an issue on GitHub
2025-06-04