Textarea

A multiline input sharing the Input sizes and invalid state, with an optional content-driven autosize.

Props

PropTypeDefaultDescription
size'sm' | 'md' | 'lg''md'Control size: sm / md / lg
invalidbooleanfalseInvalid state: red border plus aria-invalid
autosizebooleanfalseGrow the height with the content; disables manual resizing
...restTextareaHTMLAttributes—Remaining props are forwarded to the native textarea