ComponentServer-safe

Textarea

A responsive multiline field with refined focus and validation states.

Installation

Preview

Usage

tsx
import { Textarea } from "@/components/ui/textarea"

export function TextareaDemo() {
  return <Textarea placeholder="Tell us what you are building…" />
}

API reference

PropTypeDefaultDescription
rowsnumberSets an initial visible row count.
aria-invalidbooleanfalseEnables the destructive validation state.
classNamestringOverrides or extends textarea styling.