Core Elements
Textarea
A multi-line text field with sm/default/lg sizes and an optional character counter.
Usage
Installation
npm install @wunderui/reactThen import what you need:
import { Textarea, TextareaField, TextareaFieldProps } from "@wunderui/react"Examples
With label and counter
Label, optional hint, a character count and helper text.
Label OptionalText information for the box0/200
Message
A message box with the send button inside.
Message
0/200
In context
How the component is used inside real screens — the same compositions as the Usage section of the Figma page.
Feedback form
A comment box with a character count; the send button stays off until there is text.
API Reference
| Prop | Type | Default |
|---|---|---|
| size | "sm" | "default" | "lg" | "default" |
| showCount | boolean | false |
| maxLength | number | — |