Fieldset
Groups related fields under one accessible legend for the 90% case.
Show codeHide code
Installation
import { Fieldset } from "@makeplane/propel/components/fieldset";Usage
import { Fieldset } from "@makeplane/propel/components/fieldset";
import { InputField } from "@makeplane/propel/components/input-field";
export default function BasicDemo() {
return (
<Fieldset legend="Workspace details" legendSize="lg" bordered={false}>
<InputField
size="lg"
orientation="vertical"
name="name"
label="Name"
placeholder="Acme Inc."
/>
<InputField
size="lg"
orientation="vertical"
name="slug"
label="URL slug"
placeholder="acme"
/>
</Fieldset>
);
}Examples
Bordered
A bordered fieldset draws a visible boundary around the group, useful when it sits among other content. Pair it with a description for supporting text below the legend.
Show codeHide code
Legend sizes
legendSize controls the size of the legend text: lg, xl, or 2xl.
Show codeHide code
API Reference
Fieldset
The ready-made fieldset: groups a `legend` with its related controls for the 90% case. Grafts Base UI's `Fieldset` behavior onto propel's styled parts — pass the legend text, `legendSize`, and whether the group is `bordered`; everything else flows through to the underlying fieldset root.