DUI
⌘K

Components / Forms

Textarea

Collects multiline user input.

Preview

1import { Textarea } from "@/components/ui/textarea"2
3export function TextareaDemo() {4  return (5    <Textarea6      placeholder="Write a message…"7      8    />9  )10}

error

The error style of this component.

1import { Textarea } from "@/components/ui/textarea"2
3export function TextareaDemo() {4  return (5    <Textarea6      placeholder="Write a message…"7      8    />9  )10}

disabled

The disabled style of this component.

1import { Textarea } from "@/components/ui/textarea"2
3export function TextareaDemo() {4  return (5    <Textarea6      placeholder="Write a message…"7      disabled8    />9  )10}

Installation

Add the source directly to your project with the shadcn CLI.

npx shadcn@latest add qentrah/DUI/textarea

Usage

Install the component, import it from your configured UI directory, and adapt the source to your product. Open the source panel under any example to copy that exact variant.