kanchanasw

Sketch Textarea

Forms 67

About

A multi-line text field with a hand-drawn, rough.js sketch border that redraws itself when focused, used for notes, comments and freeform messages.

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

Code

How Sketch 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 className="flex min-h-[400px] w-full items-center justify-center bg-background p-10 text-foreground">
      <div className="w-full max-w-sm">
        <Textarea
          label="Note"
          placeholder="Scratch something down"
          roughness={1.5}
          rows={5}
        />
      </div>
    </div>
  );
}

More by kanchanasw

View all
  • Sketch Tabs

    Sketch Tabs

    145
  • Hand-Drawn Checkbox

    Hand-Drawn Checkbox

    74
  • Sketch Hover Card

    Sketch Hover Card

    53
  • Sketch Button

    Sketch Button

    28
  • Pagination

    Pagination

    10
  • Radial Menu

    Radial Menu

    7
  • Sketch Prompt Input

    Sketch Prompt Input

    2
  • Hand-Drawn Progress Bar

    Hand-Drawn Progress Bar

    1

More in Forms

View all
  • Login 1

    Login 1

    63
  • Premium Auth

    Premium Auth

    570
  • Contact Card

    Contact Card

    1.1K
  • Form

    Form

    18
  • Book A Demo 1

    Book A Demo 1

    91
  • Authentication Card

    Authentication Card

    52
  • Card Studio

    Card Studio

    47
  • Login Card

    Login Card

    35