Fieldset

Group related fields under a shared legend.

Default

FieldsetLegend names a group of related fields, with 16px between them.

Business details

With sliders

Group related SliderFields under one legend, like the voice settings for an agent.

Voice

Choice group

Group checkboxes or radios that answer one question so the legend is announced with each option.

Send call summaries to

Disabled

disabled on Fieldset disables every field inside it.

Billing address

Best practices

When to use

  • Use to group controls that answer one question, such as where to send call summaries or a billing address.
  • Do not use it only for visual spacing; use a regular layout wrapper for unrelated fields.

Behavior

  • Set disabled on Fieldset to disable every field inside it at once.

Content

  • Use a short sentence-case legend with no trailing colon, such as “Send call summaries to”.

Accessibility

  • Put checkbox and radio groups in a Fieldset so the legend is announced with each option.