Forms
Fieldset
A native fieldset with a legend, for grouping related fields.
Usage
Installation
npm install @wunderui/reactThen import what you need:
import { Fieldset, FieldsetLegend } from "@wunderui/react"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.
API Reference
| Prop | Type | Default |
|---|---|---|
| disabled | boolean | false |