sltowl

Matte Textarea Input

Forms

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>
  );
}

More by sltowl

View all
  • Playback Scrubber

    Playback Scrubber

    48
  • Matte Alert Feedback

    Matte Alert Feedback

    43
  • Notification Stack

    Notification Stack

    32
  • Time Window Slider

    Time Window Slider

    21
  • Commands Menu

    Commands Menu

    15
  • Matte Meter Slider

    Matte Meter Slider

    15
  • Matte Opacity Slider

    Matte Opacity Slider

    13
  • Undo Feedback

    Undo Feedback

    8

More in Forms

View all
  • Premium Auth

    Premium Auth

    524
  • Contact Card

    Contact Card

    1K
  • Book A Demo 1

    Book A Demo 1

    73
  • Login 1

    Login 1

    53
  • Form

    Form

    137
  • Card Studio

    Card Studio

    41
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.6K
  • SignInPage

    SignInPage

    667