Skip to content
FormsFree

Field

Labelling and validation for a single form control — label, description, and error message.

Usage

We'll never share your email.

Installation

bash
npm install @wunderui/react

Then import what you need:

tsx
import {
  Field,
  FieldControl,
  FieldDescription,
  FieldError,
  FieldLabel,
  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.

Workspace address

A labeled field with a hint that turns into an error as soon as the address has characters it can’t use.

Workspace settings

Your team opens the workspace at app.wunderui.com/wunderui.

API Reference

PropTypeDefault
FieldControl renderReactElement—
FieldErrorshown when the field is invalid—