redrob-labs

Textarea

Forms

About

A multi-line text input field with an optional label, hint and error message, used for longer free-form text like notes or summaries in a form.

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 TextareaDemo() {
  return (
    <div
      style={{
        display: "flex",
        gap: "16px",
        alignItems: "flex-start",
        flexWrap: "wrap",
        padding: "24px",
        background: "var(--background)",
      }}
    >
      <Textarea
        label="Role summary"
        placeholder="What will this person own?"
        hint="Markdown is not supported."
        style={{ width: "320px" }}
      />
      <Textarea
        label="Notes"
        error="Keep this under 500 characters."
        defaultValue="Candidate is based in Noida and can start in March."
        style={{ width: "320px" }}
      />
    </div>
  );
}

More by redrob-labs

View all
  • Alert

    Alert

    17
  • Schedule Picker

    Schedule Picker

    15
  • Hero Section

    Hero Section

    7
  • Switch

    Switch

    4
  • Status Card

    Status Card

    4
  • Meter

    Meter

    2
  • Memory Scope

    Memory Scope

    2
  • Accordion

    Accordion

    2

More in Forms

View all
  • Login 1

    Login 1

    52
  • Premium Auth

    Premium Auth

    492
  • Contact Card

    Contact Card

    1K
  • Form

    Form

    136
  • Login 2

    Login 2

    7
  • Login Form

    Login Form

    6
  • Authentication Card

    Authentication Card

    45
  • Card Studio

    Card Studio

    41