Use the Textarea component to provide a multi-line input field where users can enter larger amounts of text. Unlike a standard input field, which is typically single-line, a textarea allows for more extensive text entry, such as paragraphs or multiple lines of content.
Preview
0 words
Labeled Textarea
Textareas can also be created with labels using the label prop. Optionally, additional text can be displayed using the subText prop:
States
You can modify the default state of your textareas by using the disabled and value props:
API
Prop
Purpose
label
Set a label for the textarea.
placeholder
Set a placeholder for the textarea.
subText
Specify additional text below the textarea. The string can include HTML tags.