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

    43
  • Matte Alert Feedback

    Matte Alert Feedback

    41
  • Notification Stack

    Notification Stack

    30
  • Time Window Slider

    Time Window Slider

    20
  • Commands Menu

    Commands Menu

    14
  • Matte Meter Slider

    Matte Meter Slider

    14
  • Matte Opacity Slider

    Matte Opacity Slider

    12
  • Undo Feedback

    Undo Feedback

    8

More in Forms

View all
  • Premium Auth

    Premium Auth

    500
  • Login 1

    Login 1

    52
  • Book A Demo 3

    Book A Demo 3

    83
  • Authentication Card

    Authentication Card

    47
  • Book A Demo 1

    Book A Demo 1

    69
  • Contact Card

    Contact Card

    1K
  • Login Card

    Login Card

    32
  • Login 2

    Login 2

    7