Skip to main content

Function: TextArea()

TextArea(__namedParameters): any

Defined in: composites/TextArea/TextArea.tsx:96

A multiline text input composite (Input entity) — the multiline sibling of TextField. Composes TextAreaLabel, TextAreaControl, TextAreaDescription, and TextAreaError. Validation is driven by React Aria's isInvalid / validate.

Parameters

ParameterType
__namedParametersTextAreaProps

Returns

any

Example

<TextArea isRequired>
<TextAreaLabel>Notes</TextAreaLabel>
<TextAreaControl rows={4} />
<TextAreaError />
</TextArea>