Components › Forms
Fieldset
Group related form controls under a native legend.
Installation
npx plankui@latest add fieldsetUsage
import { Fieldset } from "@/components/ui/fieldset";
<Fieldset legend="Email preferences"><label><input type="checkbox" /> Weekly digest</label></Fieldset>API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| legend | ReactNode | required | Visible label for the group. |
| disabled | boolean | false | Disables the controls in the group. |
| children | ReactNode | Related form controls. |