About
A floating-label textarea that auto-grows with its content, shows a live character counter against a max length, and swaps its helper text when the limit is reached. Ported to React from the original HTML/CSS/JS component by SLtowl (sl-ui-library).
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Matte Textarea Input to your project and fits it to your theme.
Code
How Matte Textarea Input is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import MatteTextareaInput from "@/components/ui/matte-textarea-input";
export default function MatteTextareaInputDemo() {
return (
<div className="flex min-h-screen w-full items-center justify-center bg-[#f5f4f2] p-6">
<MatteTextareaInput />
</div>
);
}
















