PrimitivesDisplayMessage input
Message input
The message composer's text field — an auto-growing textarea that emits koala-message-send on Enter and newlines on Shift+Enter, so every composer in the product behaves the same way.
Message input
API
name
stringplaceholder
string?label
stringvariant
KoalaMessageInputVariantsend-disabled
string? — An Alpine expression that, when true, disables sending — on top of the sending guard every composer already…disabled
bool — The whole composer is unavailable and cannot become available by typing — the caller lacks permission, or t…send-label
string — The send button's accessible name, for composers where sending does something more specific than "send" (lo…send-label-binding
string? — Alpine expression for the send button's accessible name, when it varies at runtime.required
bool — Whether the textarea refuses an empty submit.