Skip to main content

TextArea


Example

<TextArea
name="description"
label="Description"
placeholder="Type here..."
value={value}
onChange={setValue}
/>

Props

NameTypeDefault ValueRequiredDescription
namestringNo
valuestringYes
onChange(value: string) => unknownYes
onBlur() => unknownNo
labelstringYes
issuesNonEmptyArray<Children>No
disabledbooleanNo
assistiveTextChildrenNo
autoFocusbooleanNo
hintstringNo
hintPlacement"bottom" | "left" | "right" | "top" | "bottom-end" | "bottom-start" | "left-end" | "left-start" | "right-end" | "right-start" | "top-end" | "top-start"No
placeholderstringNo
isReadOnlybooleanNo
rowsnumberNo

Related components