Textarea component supports Input and Input.Wrapper components features and all
textarea element props.
Textarea documentation does not include all features supported by the component – see Input documentation to learn about all available features.
Autosize textarea uses react-textarea-autosize package. Textarea height will grow until maxRows are reached or indefinitely if maxRows not set.
Component Styles API
Hover over selectors to highlight corresponding elements
Textarea is used without
label prop, it will not be announced properly by screen reader:
aria-label to make the input accessible. In this case label will not be visible, but screen reader will announce it:
label prop is set, input will be accessible it is not required to set