Skip to content
FormBrowse form components
ComponentsFormStable

Textarea

Multi-line text input with vertical resize and the same focus contract as Input.

Live preview

Usage

Adapters:React stableVue stable
index.html
<textarea class="lm-textarea" rows="4"></textarea>

CSS classes (1)

ClassDescription
lm-textareaMulti-line input

React props (2)

PropTypeDefaultDescription
rowsnumber3
resizevertical | nonevertical

Accessibility

  • Every control needs a visible <label> or aria-label.
  • Use aria-describedby to link hints and error messages.
  • Never rely on color alone for invalid state — pair with text + icon.
  • Required fields use aria-required and an inline marker.

Spotted something wrong? Edit this entry on GitHub.