Textarea

Larger text input

Import

import { Textarea } from '@windmill/react-ui'

Base

The default base textarea doesn't need any special prop, but all attributes that you would usually use in normal HTML are available here too. Note that if you're not using a Label component (not recommended), you should use an aria-label attribute to give screen readers a label.

live editor

Disabled

The disabled prop applies disabled styles to the textarea.

live editor

Valid

The valid prop applies valid styles to the textarea.

live editor

Invalid

Give a value of false to the valid prop to apply invalid styles to the textarea.

live editor

Props overview

PropDescriptionTypeDefault
disabledapply disabled styles to the textareaboolean
validapply valid or invalid styles to the textareaboolean

Customizing

See Customization to learn how to change defaultTheme styles.