# Textarea > A multi-line text field that grows with its content. Source: https://native.shellui.dev/docs/components/form/textarea ## Installation ```bash shellui-native add textarea ``` **Platforms:** MAUI · Avalonia. ## Usage ### Basic **MAUI** ```xml ``` **Avalonia** ```xml ``` [Live preview](https://native.shellui.dev/preview/index.html?c=textarea-basic) ## API | Property | Type | Default | Description | |---|---|---|---| | `Text` | `string` | — | Entered text. Two-way bindable. | | `Placeholder` | `string` | — | Hint shown while empty. | | `HasError` | `bool` | `false` | Shows the destructive border and ring. | | `MaxLength` | `int` | `int.MaxValue` (MAUI) · `0` (Avalonia) | Maximum number of characters. | | Event | Arguments | Description | |---|---|---| | `TextChanged` | `TextChangedEventArgs` | The text changed. |