Text Area Field
A labeled multi-line text field with optional description, hint, and error messaging.
Share your thoughts on the proposal.
Markdown is supported.
Show codeHide code
Installation
import { TextAreaField } from "@makeplane/propel/components/text-area-field";Usage
import { TextAreaField } from "@makeplane/propel/components/text-area-field";
export default function BasicDemo() {
return (
<TextAreaField
size="lg"
resize="vertical"
label="Comment"
placeholder="Leave a comment..."
description="Share your thoughts on the proposal."
hint="Markdown is supported."
/>
);
}Examples
Sizes
size steps the value font-size and the field min-height; padding and radius stay fixed.
Show codeHide code
Resize
The resize prop controls the native drag handle: vertical allows height changes, none locks the size. (both frees the width too, but a labeled field usually sits in a form column with no room to spare — see the bare Text Area for that case.)
Show codeHide code
Invalid
Setting error overrides hint, marks the field invalid (aria-invalid), and recolors the border to danger.
Add a little more detail.
Show codeHide code
Controlled
0 characters
Show codeHide code
API Reference
TextAreaField
Multi-line text field built on Base UI `Field`, rendering the control as a `<textarea>`. Vertical layout only.