<TextField>
<Label>Description</Label>
<TextArea />
</TextField>npx shadcn@latest add @dotui/text-areaUse TextArea to allow users to enter multi-line text content.
import { TextField } from "@/components/ui/text-field";
import { TextArea, InputGroup, InputGroupAddon } from "@/components/ui/input";
import { Label } from "@/components/ui/field";<TextField>
<Label>Description</Label>
<TextArea />
</TextField>Use the controls below to experiment with different text area props and see the live preview and code update.
<TextField>
<TextArea placeholder="Enter description..." />
</TextField>mirrored text: Roses are red, violets are blue.
A textarea allows a user to input multi-line text.
| Prop | Type | Default | |
|---|---|---|---|
union | — | ||
string | — | ||
DOMRenderFunction<"textarea", InputRenderProps> | — | ||
Last updated on 5/22/2026