Skip to content
LyEve UI v0.60.1

Form controls

Textarea

A multi-line text input with vertical resize, an optional inline error message, and bindable value. Pair with <Label /> when you need a separate label.

Basic

Resize toggle

Error state

Bio is required.

API

PropTypeDefaultDescription
value string''Bindable textarea value.
rows number4Initial visible rows.
placeholder string no defaultPlaceholder text.
label string no defaultLabel rendered above the control.
hint string no defaultA line of help under the field.
error string no defaultError message rendered below.
resize booleantrueAllow the user to drag-resize vertically.
disabled booleanfalseDisable the textarea.
readonly booleanfalseRead-only mode.
required booleanfalseMark as required for form validation.
maxlength number no defaultThe most characters the field accepts.
mono booleanfalseSets the control alone in the monospace face, for code, JSON or a key.
id string no defaultThe textarea's id. Left out, it is a unique generated id. One passed in wins, and it is what a Label's for or a selector should aim at.
name string no defaultThe form field the value posts under.
oninput (e: Event) => void no defaultFires on every keystroke.
onblur (e: FocusEvent) => void no defaultFires on blur.
class string no defaultExtra classes on the wrapper.
noAI booleanfalseKeep the value from an assistant: a FormAssist never reports it or fills it, and the control is marked data-no-ai for a browser agent.