Mahmoud Ilyan

Textarea

Forms

About

A multi-line text input field for collecting longer form content like descriptions, comments, and messages.

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";

export default function TextareaWithLabelAndHelperDemo() {
  return (
    <div className="flex flex-col gap-1.5 w-full max-w-sm">
      <label className="text-sm font-medium text-ink-dark">Description</label>
      <Textarea placeholder="Describe your campaign..." rows={4} />
      <p className="text-xs text-ink-light">Maximum 500 characters</p>
    </div>
  );
}

More by Mahmoud Ilyan

View all
  • Steps

    Steps

    7
  • Chart

    Chart

    3
  • Radio Card

    Radio Card

    2
  • Badge

    Badge

    2
  • Card

    Card

    2
  • Switch

    Switch

    1
  • Checkbox Card

    Checkbox Card

    1
  • Input

    Input

    1

More in Forms

View all
  • Form

    Form

    7
  • Contact Form

    Contact Form

    32
  • Login 2

    Login 2

    16
  • Contact Card

    Contact Card

    1.1K
  • Book A Demo 1

    Book A Demo 1

    94
  • Paper Plane

    Paper Plane

    80
  • Premium Auth

    Premium Auth

    613
  • Authentication Card

    Authentication Card

    52