Textarea
Enter multiple lines of text.
Examples
Use rows for initial height and resize for manual resizing. Standard maxLength, name, required and form attributes are supported. Controlled values update through onChange. className and style apply to the container.
Live previewInteractive example
basic.tsx
Live previewInteractive example
0 / 120
controlled.tsx
Textarea API
Types
Import TextareaProps to describe component props. Option types in the API table link to their detailed fields above.
Forms and localization
Use name to include values in FormData. Uncontrolled fields follow form reset; reset controlled values in application state. Place controls in FormField for labels, help and errors. ConfigProvider supplies regional themes and translated built-in UI. Application labels and options are your responsibility.