Textarea
Textarea is used to set a value that is multiple lines of text.
Page navigation navigation
React examples
Default
Resize behavior
This example prevents the Textarea
from being resized in any direction, but you can also limit resizing to horizontal or vertical.
Customized width
Defaults to 30-character width; can be set to be any number of characters or fill the parent width.
Customized height
Defaults to 7 lines; can be adjusted to any number of lines based on expected content length. Users can scroll if content exceeds the set height.
Required
With a caption
This is a caption
With a validation message
Something went wrong
Props
Loading data for textarea...