kanchanasw

Hand-Drawn Input

Forms

About

A single-line text input field with a hand-drawn, sketchy rough.js border, supporting a label, leading/trailing icons, size presets, and validation/error states.

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

Code

How Hand-Drawn Input is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import Input from "@/components/ui/input";

export default function InputWithIconDemo() {
  return (
    <div style={{ width: 320 }}>
      <Input
        seed={42}
        animate={false}
        placeholder="Type here…"
        label="Search"
        startIcon={
          <svg width="16" height="16" viewBox="0 0 16 16" aria-hidden>
            <circle cx="7" cy="7" r="4" stroke="currentColor" fill="none" />
            <path d="M11 11l3 3" stroke="currentColor" />
          </svg>
        }
      />
    </div>
  );
}

More by kanchanasw

View all
  • Sketch Tabs

    Sketch Tabs

    145
  • Hand-Drawn Checkbox

    Hand-Drawn Checkbox

    78
  • Sketch Textarea

    Sketch Textarea

    68
  • Sketch Hover Card

    Sketch Hover Card

    53
  • Sketch Button

    Sketch Button

    29
  • Pagination

    Pagination

    12
  • Radial Menu

    Radial Menu

    7
  • Radial Progress

    Radial Progress

    4

More in Forms

View all
  • Premium Auth

    Premium Auth

    592
  • Login 1

    Login 1

    70
  • Contact Card

    Contact Card

    1.1K
  • Contact Form

    Contact Form

    28
  • Form

    Form

    6
  • HeroUI Field Error

    HeroUI Field Error

    13
  • Form

    Form

    4
  • Book A Demo 4

    Book A Demo 4

    69