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 InputSizesDemo() {
return (
<div
style={{ display: "flex", flexDirection: "column", gap: 12, width: 320 }}
>
<Input seed={42} animate={false} size="sm" label="Small" />
<Input seed={43} animate={false} size="md" label="Medium" />
<Input seed={44} animate={false} size="lg" label="Large" />
</div>
);
}
















