Sizing

You can easily set the initial height of the TextArea component as well as setting an auto size option as the user types.

Setting the Initial Rows

To set initial rows of the TextArea, use its rows property.

Example
View Source
Edit In Stackblitz  
Change Theme:

Auto-Resizing

To automatically adjust the height of the TextArea as the user types, set its autoSize property to true.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?