Forms

Textarea

Edit multiline text with a label, resizing, and native form attributes.

Basic usage

Set the initial height with rows and cap the length with maxlength. The native onInput event updates the counter in this example.

0 / 140

API

Key props and defaults.

PropValues and behaviorDefault
rowsnumber4
resizevertical | horizontal | both | nonevertical
autoresizebooleanfalse
maxlengthnumber—
value / defaultValuestring—