Textarea
A multi-line text input for longer content.
Installation
pnpm dlx shadcn@latest add @columbus/textareaUsage
The textarea grows with its content. Give it a name with a
Field, a Label, or
aria-label.
import { Textarea } from "@/components/ui/textarea";
<Textarea aria-label="Message" placeholder="Type your message here" />;Sizes
In a field
Textarea registers with Field on its own, so labels,
descriptions, and validation work without wrapping it in FieldControl.
A few words about yourself.
Disabled
API reference
Base UI has no textarea, so this renders a native <textarea> through
Base UI Field.Control. It accepts
every native <textarea> attribute. className styles the outer wrapper.
Prop
Type