Textarea
A multi-line input for entering longer text. Supports clear editing and flexible sizing for different content needs.
Variants
Props
| Name | Default | Type |
|---|---|---|
size | "sm" | "sm" | "md" | "lg" | "xl" Controls the visual size of the textarea |
variant | "subtle" | "subtle" | "outline" Visual style variant |
placeholder | - | string Placeholder text shown when empty |
disabled | - | boolean Disables user interaction |
id | - | string HTML id attribute |
modelValue | - | string Bound value of the textarea |
debounce | - | number Debounce delay (ms) before emitting value updates |
rows | 3 | number Number of visible text rows |
label | - | string Optional label text |
Emit Events
| Event | Payload |
|---|---|
update:modelValue | any[] |