kanchanasw

Hand-Drawn Checkbox

Forms 57

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>
  );
}

Dependencies

More by kanchanasw

View all
  • Sketch Tabs

    Sketch Tabs

    100
  • Sketch Textarea

    Sketch Textarea

    42
  • Sketch Hover Card

    Sketch Hover Card

    33
  • Sketch Button

    Sketch Button

    22
  • Pagination

    Pagination

    6
  • Radial Menu

    Radial Menu

    3
  • Sketch Prompt Input

    Sketch Prompt Input

    2
  • Hand-Drawn Progress Bar

    Hand-Drawn Progress Bar

    1

More in Forms

View all
  • Premium Auth

    Premium Auth

    533
  • Contact Card

    Contact Card

    1K
  • Book A Demo 1

    Book A Demo 1

    77
  • Card Studio

    Card Studio

    44
  • Login 2

    Login 2

    9
  • Login Card

    Login Card

    29
  • Form

    Form

    17
  • Split Sign In Form

    Split Sign In Form

    77