Textarea React component for Chakra UI
npm install @chakra-ui/textareaThe Textarea component allows you to easily create multi-line text inputs.
``sh`
yarn add @chakra-ui/textarea
`jsx`
import { Textarea } from "@chakra-ui/textarea"
`jsx`
Pass the isDisabled prop to put the textarea in the disabled state
`jsx`
Pass the isInvalid prop to put the textarea in the invalid state
`jsx`
Pass the size prop to change the size of the textarea
`jsx`
<>
size="sm"
placeholder="A sample placeholder"
defaultValue="This is a small textarea"
/>
placeholder="A sample placeholder"
defaultValue="This is a default textarea"
/>
size="lg"
placeholder="A sample placeholder"
defaultValue="This is a large textarea"
/>
>
Pass the resize prop to resize to textarea in the vertical or horizontal
direction
`jsx``