Skip to main content
This component is returned by Settings.useForm().
A <Fieldset /> groups related workspace settings inputs together under a descriptive legend. It can contain either:
  • A single <RadioGroup />
  • Multiple <Checkbox /> inputs
A <Fieldset /> should contain either a single <RadioGroup /> or multiple <Checkbox /> inputs, but not mixed.

Example with RadioGroup

src/app/settings/page.tsx

Example with Checkboxes

src/app/settings/page.tsx

Props

string
required
The legend text for the fieldset, which acts as a label for the group of inputs.
React.ReactNode
required
Either a single <RadioGroup /> or multiple <Checkbox /> inputs.
Do not mix <RadioGroup /> and <Checkbox /> components within the same <Fieldset />.