Textarea
A multi-line text input.
Installation
bash
npx shadcn@latest add textareaImport
import { Textarea } from "@/components/ui/textarea"Default
Disabled
With Label
Your message will be copied to support.
With Button
Props
PROPTYPEDEFAULTDESCRIPTION
placeholderstring—Placeholder textdisabledbooleanfalseDisables the textarearowsnumber—Number of visible text linesvaluestring—Controlled valueonChange(e: ChangeEvent) => void—Change handler