Textarea
A multi-line text field that grows with its content.
Installation
bash
shellui-native add textarea
Platforms: MAUI · Avalonia.
Usage
Basic
<VerticalStackLayout Spacing="8">
<ui:ShellLabel Text="Message" Size="Sm" Weight="Medium" />
<ui:Textarea Placeholder="Tell Shewart what you're building." />
</VerticalStackLayout><StackPanel Spacing="8">
<ui:ShellLabel Text="Message" Size="Sm" Weight="Medium" />
<ui:Textarea Placeholder="Tell Shewart what you're building." />
</StackPanel>Not available on yet
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. |