Textarea
Renders textarea with optional autosize variant
Import
Source
Docs
Package
Usage
Radius
xs
sm
md
lg
xl
Size
xs
sm
md
lg
xl
Autosize
Autosize textarea uses react-textarea-autosize package.
Textarea height will grow until maxRows
are reached or indefinitely if maxRows
not set.
Controlled
Invalid state and error
Comment should not include bad words
Get input ref
Accessibility
Provide aria-label
in case you use component without label for screen reader support:
Feedback
Your feedback is most valuable contribution to the project, please share how you use Mantine, what features are missing and what is done good
Leave feedback