Textarea

Multi-line text input with label, counter, and sizing options.

Textarea

Default

Bind text with v-model for controlled input.

Code copied

Label

Float a label above the field for clearer forms.

Code copied

Counter

Show remaining characters and warn when the limit is exceeded.

Code copied

Width

Set a fixed width for form layouts.

Code copied

Height

Control the visible height of the textarea.

Code copied

Advanced

Use max-length, show-word-count, auto-size and trim for a bounded, automatically growing field.

API

Code copied

PROPS

PropertyTypeValuesDescriptiondefaultExampleMore
cols / count-method / immediateNumber / Function / Booleannative column count / counter function / true | falseConfigure width hint, character counting and immediate model updates.-
v-modelStringStringTextarea value.
labelStringStringFloating label text.
colorStringprimarysuccessdangerwarningdarkComponent color.primary
counterNumber, StringNumberMax length counter.
counter-dangerBooleantruefalseHighlight counter when limit exceeded.
max-length / show-word-countNumber, BooleanNumbertrue | falseNative length limit and counter.null, false
auto-sizeObject{ minRowsmaxRows }Grow height with content within row bounds.
readonly / disabled / editable / trimBooleantruefalseControl editing state and trim output on change.false, false, true, false
heightStringCSS heightTextarea height.
widthStringCSS widthTextarea width.
No matching data

EVENTS

PropertyTypeValuesDescriptiondefaultExampleMore
update:modelValueEmitted when value changes.
inputNative input event.
focusEmitted on focus.
blurEmitted on blur.
No matching data
Last Updated: 2026-08-17, 08:33:54