A multi-line text field that allows users to enter longer-form input or comments.
| Property | Description | Type |
|---|---|---|
label | Adds a label above the textarea element. | string |
placeholder | Provides a subtle hint within the textarea. Useful to communicate the proper formatting required. | string |
name | Provides the name attribute to the input html element. | string |
disabled | Makes the textarea inaccessible. | boolean |
required | Makes the textarea a required field and styles the label with a red asterisk. | boolean |
expanded | Allows the textarea to strech to full width. | boolean |
error | Adds an error message below the textarea. | string |
hint | Adds a hint below the textarea. | string |
align | Aligns the text within the textarea element. | start | end |