Textarea

Displays a multi-line text input

Interactive-mode

Examples

Default

Disabled

Custom rows

API

The element family below can be composed together. Click an element to jump to its properties.

Element Purpose
Textarea Renders a native <textarea> styled to match Blok's input system. Two-way bindable via @bind-Value.

Textarea

Renders a native <textarea> styled to match Blok's input system. Two-way bindable via @bind-Value.

Property Type Required Description
Value string? Current text content. Supports two-way binding via @bind-Value.
ValueChanged EventCallback<string?> Invoked on every input event with the new value.
Placeholder string? Hint text shown when the textarea is empty.
Disabled bool When true, the textarea is read-only and visually muted. Default: false.
Rows int Number of visible text rows. Default: 3.
ClassName string? Extra CSS classes appended to the textarea's class attribute.
AdditionalAttributes Dictionary<string, object>? Captured unmatched attributes, forwarded to the underlying <textarea>.

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.