Skip to main content
This component is returned by Settings.useForm().

Example

src/app/settings/page.tsx

Grouping multiple checkboxes

To group multiple related checkboxes together under a legend, wrap them in a <Fieldset />:

Props

string
required
The label of the input field.
string
required
The key of the boolean value of the input field in your settings schema.e.g. "auto_sync_enabled"
boolean
Whether or not the field should be disabled.Defaults to false (not disabled).