Semantic grouping for related form fields with legend, description, and error text.
Fieldset groups related controls such as billing options, notification settings, and permission scopes while preserving native form semantics.
Use legend and description for a related set of controls.
<Fieldset>
<FieldsetLegend>Billing contact</FieldsetLegend>
<FieldsetDescription>Used for invoices and payment receipts.</FieldsetDescription>
<Input aria-label="Billing email" placeholder="billing@example.com" />
</Fieldset>import {
Fieldset,
FieldsetDescription,
FieldsetError,
FieldsetLegend,
} from "@froggdesign/enter-ui-react";Use Fieldset for settings pages, admin forms, checkout forms, and permission editors where a group label is more accurate than repeating labels per control.
Fieldset renders native <fieldset> and FieldsetLegend renders native <legend>. disabled disables descendant form controls using browser behavior.
invalid: marks the group invalid.disabled: disables the fieldset.className.Fieldset uses .eui-fieldset classes and FroggDesign tokens for the group surface, legend, description, error text, disabled state, and invalid state.