Core Components
Textarea
Displays a form textarea or a component that looks like a textarea.
import { Textarea } from "@/components/ui/textarea"
export function TextareaDemo() {
return <Textarea placeholder="Type your message here." />
}Installation
Install with the shadcn CLI. An AI assistant with the shadcn MCP server configured can also install components automatically when you ask for them (see Getting Started).
npx shadcn@latest add textareaDocumentation
For all options, variants and the full API, see the shadcn/ui docs.
Last updated on