Textarea
primitiveMulti-line text field with the same affordances as Input — label, hint, error.
Installation
$pnpm dlx disenio add textareaUsage
example.tsx
import { Textarea } from "@/components/ui/textarea";
export default function Example() {
return <Textarea label="Message" placeholder="…" />;
}Examples
With hint
Up to 280 characters.
API
| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | — | Label text rendered above the field. |
| hint | string | — | Helper text below the field. |
| error | string | — | Error text. Replaces hint and styles the field. |
| ...rest | TextareaHTMLAttributes | — | All standard <textarea> props are forwarded. |