Command Palette

Search for a command to run...

Textarea

shadcn/ui

Displays a form textarea or a component that looks like a textarea.

import { Textarea } from "@/registry/optics/textarea";<Textarea placeholder="Type your message here." /><Textarea placeholder="Disabled" disabled />

Installation

pnpm dlx shadcn@latest add https://optics.agusmayol.com.ar/r/textarea.json

Props

<Textarea />
Name
Type
className
string
variant
"raised" | "ghost" | "outline"