Textareas can have different shapes. Use the shape
prop to change the shape of the textarea component.
Show codeHide code
Textareas can have floating labels. Use the label-float
prop to enable the floating label.
Show codeHide code
Textareas can be shown smaller. Use the size
prop with the sm
value to make it smaller.
Show codeHide code
Textareas can have a primary colored focus. Use the color-focus
prop to enable the colored focus.
Show codeHide code
Textareas can be shown in a loading state. Use the loading
prop to enable the loading state.
Show codeHide code
Textareas can be shown disabled. Use the disabled
prop to disable the textarea.
Show codeHide code
Textareas can be shown in an error state. Use the error
prop to show the error and the error message.
Show codeHide code
Textareas can have custom addons. Use the addon
slot to add your own custom addons.
Maya
Show codeHide code
v-model
@example
`v-model="value"`
@example
`v-model.trim="value"`
Show exampleHide example
name
Show exampleHide example
size
Show exampleHide example
label
Show exampleHide example
id
Show exampleHide example
shape
Show exampleHide example
error
Show exampleHide example
classes
Show exampleHide example
contrast
Show exampleHide example
placeholder
Show exampleHide example
rows
Show exampleHide example
disabled
Show exampleHide example
loading
Show exampleHide example
label-float
Show exampleHide example
color-focus
Show exampleHide example
readonly
Show exampleHide example
addon
Show exampleHide example
resize
Show exampleHide example
autogrow
Show exampleHide example
modelModifiers
Show exampleHide example
el
Show exampleHide example
fitSize