Forms
Field
Labelling and validation for a single form control — label, description, and error message.
Usage
We'll never share your email.
Installation
npm install @wunderui/reactThen import what you need:
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.
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.
API Reference
| Prop | Type | Default |
|---|---|---|
| FieldControl render | ReactElement | — |
| FieldError | shown when the field is invalid | — |