Forms
Fieldset
A native fieldset with a legend, for grouping related fields.
Usage
Installation
npx wunderui-cli add fieldsetWrites the source into your project with its dependencies and, on first use, the styles — see Installation.
Then import what you need:
import { Fieldset, FieldsetLegend } from "@/components/ui/fieldset"Examples
Label, Field, Fieldset, Form
The form primitives — label, field with description / error, fieldset with legend, submit.
In context
How the component is used inside real screens — the same compositions as the Usage section of the Figma page.
Billing address
Address fields grouped under one legend; ticking “Same as shipping address” disables the whole group.