About
A multi-line text input field with auto-sizing, small/default/large sizes, disabled and invalid states built on Base UI.
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
import { Textarea } from "@/components/ui/textarea";
export default function TextareaDisabledDemo() {
return (
<div className="w-full max-w-sm">
<Textarea disabled placeholder="Can't type here" />
</div>
);
}
















