Skip to content

Textarea

Displays a multi-line text input.

Install

Bash
npx @madeui/cli add textarea

Usage

TSX
import { Textarea } from '@/components/ui/textarea';

<Textarea placeholder="Type your message here." />

With field

Use Field, FieldLabel, and FieldDescription to create a textarea with a label and description.

You can @mention other users and organizations.

Disabled

Invalid

Set invalid on Field to show validation errors — the label and error message pick up the invalid styling, and aria-invalid is applied to the textarea automatically.

API reference

Textarea

PropTypeDefaultDescription
disabledbooleanfalse
styleStyleXStyles—StyleX styles merged last — always win over the component’s own styles.

All native <textarea> props are forwarded.

Was this page helpful?