About
A checkbox control with a hand-sketched rough.js outline and checkmark, built on Radix UI Checkbox for full keyboard, mixed-state, and accessibility behavior.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Hand-Drawn Checkbox to your project and fits it to your theme.
Code
How Hand-Drawn Checkbox is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import Checkbox from "@/components/ui/checkbox";
export default function CheckboxDemo() {
return (
<div className="flex flex-col gap-6 p-10 bg-background text-foreground">
<Checkbox label="Keep the wobble" defaultChecked roughness={1.5} />
<Checkbox label="Unchecked option" />
<Checkbox label="Disabled" disabled defaultChecked />
<Checkbox
label="Accept the terms"
name="terms"
invalid
errorMessage="You must accept the terms to continue."
/>
</div>
);
}
















