About
An auto-growing textarea form field with label, description and error message support, which expands to fit its content using native field-sizing instead of a JS resize handler.
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/kernel-textarea";
export default function TextareaDemo() {
return (
<div className="flex w-full max-w-sm items-center justify-center p-8">
<Textarea
label="Feedback"
placeholder="Tell us what's working, and what isn't…"
description="It grows as you type, no JavaScript resize handler."
/>
</div>
);
}
















