Forms
Textarea
Captures longer text with deliberate resize behavior.
idle
Usage
Examples
Project summary
Use a visible label and native maxLength to set the editing limit.
Project handoff
Give teammates the context they need to continue the work.
Read-only note
Read-only, disabled, and invalid notes retain their labels.
Disabled note
Read-only, disabled, and invalid notes retain their labels.
Message details
Read-only, disabled, and invalid notes retain their labels.
Recommendations
| Guidance | Practice |
|---|---|
| Do | Show the expected content and any length limit near the field. Allow enough space to review a normal response. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | Use Input for single-line values. Textarea does not sanitize or interpret submitted content. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | — | Controls the text value. |
| | — | Sets the initial text value. |
| | "default" | Selects the control size. |
| | false | Marks the textarea invalid when it is not bound to a Field. |
| | false | Uses size styling without the standard field surface. |