Textarea
A multi-line text field.
Installation
npx shadcn@latest add @blank/textareaUsage
import { Textarea } from "@/components/ui/textarea"<Textarea placeholder="Type your message here." />Examples
With a counter
The textarea grows with its content (field-sizing: content) from a 120px minimum.
160 characters left
Invalid
Tell us a little more. Use at least 20 characters.
API Reference
Textarea
Every textarea prop. It shares Input's field surface, border and focus ring; there is no size. Set a height with className when you need one.