mayurrawte

Textarea

Forms

About

A styled multi-line text input field for forms, chat prompts, and system messages, with focus, disabled, and placeholder states.

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";
import { useState } from "react";

export default function Example() {
  const [value, setValue] = useState("");
  return (
    <div className="w-full max-w-md">
      <Textarea
        placeholder="Describe the tool you want to call…"
        rows={4}
        value={value}
        onChange={(e) => setValue(e.target.value)}
      />
    </div>
  );
}

More by mayurrawte

View all
  • Dropdown Menu

    Dropdown Menu

  • Skeleton

    Skeleton

  • Avatar

    Avatar

  • Loader

    Loader

  • Separator

    Separator

More in Forms

View all
  • Premium Auth

    Premium Auth

    543
  • Contact Card

    Contact Card

    1.1K
  • Form

    Form

    17
  • Card Studio

    Card Studio

    46
  • Book A Demo 1

    Book A Demo 1

    80
  • Login 2

    Login 2

    10
  • Login 1

    Login 1

    58
  • Input

    Input

    14