Skip to content
FormsFree

Fieldset

A native fieldset with a legend, for grouping related fields.

Usage

Shipping address

Installation

bash
npm install @wunderui/react

Then import what you need:

tsx
import { Fieldset, FieldsetLegend } from "@wunderui/react"

Examples

Label, Field, Fieldset, Form

The form primitives — label, field with description / error, fieldset with legend, submit.

Shipping address

Including house number.

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.

Payment details
Invoices go to the billing address.
Billing address

API Reference

PropTypeDefault
disabledbooleanfalse