Textarea

Textarea is a component used to obtain multi-line text input.

Usage

import { Textarea } from "@yamada-ui/react"
<Textarea />

Change Variants

Change Size

Change Color Scheme

Disable

To disable the input, set disabled to true.

Read-Only

To read-only, set readOnly to true.

Invalid

To set invalid state, set invalid to true.

Change Border Color

To change the border color, set a color to focusBorderColor or errorBorderColor.

Customize Placeholder

To change the placeholder color, set _placeholder to the props.

Change Resize Behavior

To change the resize behavior, set resize to one of "block", "horizontal", "vertical", or "none".

Use Auto-resize

To enable auto-resizing, set autosize to true.

Control Resize

Props

Accessibility

Currently, this section is being updated due to the migration of v2.