Textarea

A multi-line text field that grows with its content.

Installation

bash
shellui-native add textarea

Platforms: MAUI · Avalonia.

Usage

Basic

Rendered with ShellUI for Blazor
<VerticalStackLayout Spacing="8">
    <ui:ShellLabel Text="Message" Size="Sm" Weight="Medium" />
    <ui:Textarea Placeholder="Tell Shewart what you're building." />
</VerticalStackLayout>
Avalonia, running in your browser

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.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.