Skip to main content
Version: 57.2.0

Text area

Use the text area form field to allow the user to enter multiple lines of text.

Package: @terreno/ui
Categories: Component
Props interface: TextAreaProps
Story source: demo/stories/Textarea.stories.tsx

Live demo

Props

PropTypeRequiredDescription
onChangeOnChangeCallbackYes
aiSuggestionAiSuggestionProps
autoCompleteunion
blurOnSubmitboolean
disabledboolean
errorTextstring
growboolean
helperTextstring
iconNameIconName
idstring
inputRefreflection
onBlurOnChangeCallback
onEnterreflection
onFocusreflection
onIconClickreflection
onSubmitEditingreflection
placeholderstring
returnKeyTypeunion
rowsnumber
testIDstringRoot test id for the primary interactive element or container.
testIDsFieldTestIDs
titlestring
trimOnBlurboolean
valuestring