Textarea
- The Textarea component.
TextareaRSC
- The Textarea component with context.
Textarea resizes automatically as it's content grows.
Use minRows
and maxRows
props to control the number of rows the textarea can expand to.
Pass resize
prop to the Textarea
to enable resizing.
Pass isInvalid
prop to the Textarea
to show the error state.
Combine Textarea
with Field
to create a nice looking form element.
Biography should not contain any bad words.
If you want to disable the auto resize of the textarea, simply use TextareaNoAutoSize
component.
TextareaRSC is a RSC compatible component that does not use client handlers.