About
Multi-line text input component with auto-sizing and validation states.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Textarea to your project and fits it to your theme.
Code
How Textarea is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client"
import { Textarea } from "@/components/ui/interfaces-textarea"
export default function TextareaDemo() {
return (
<div className="flex w-full min-h-screen items-center justify-center bg-background p-8 overflow-hidden">
<div className="w-full max-w-md space-y-4">
<Textarea placeholder="Type your message here..." rows={4} />
</div>
</div>
)
}
















