albertarakelyan

Wtk Textarea

Forms

About

A labeled textarea field with size variants, optional resize handles, disabled/read-only states, and an inline error message.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Wtk Textarea to your project and fits it to your theme.

Code

How Wtk Textarea is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import WtkTextarea from "@/components/ui/wtk-textarea";

export default function WtkTextareaStatesDemo() {
  return (
    <div className="flex flex-col gap-4 w-full max-w-md">
      <div className="flex flex-wrap gap-4">
        <WtkTextarea rows={3} placeholder="Default" />
        <WtkTextarea rows={3} defaultValue="Disabled" disabled />
        <WtkTextarea rows={3} defaultValue="Read only" readOnly />
      </div>
      <WtkTextarea
        label="Description"
        rows={3}
        defaultValue="Too short"
        error="Must be at least 20 characters"
      />
    </div>
  );
}

More by albertarakelyan

View all
  • Wtk Input

    Wtk Input

  • GTK Radio Button

    GTK Radio Button

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