kanchanasw

Hand-Drawn Checkbox

Forms 48

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

    81
  • Sketch Textarea

    Sketch Textarea

    38
  • Sketch Hover Card

    Sketch Hover Card

    26
  • Sketch Button

    Sketch Button

    20
  • Pagination

    Pagination

    6
  • Radial Menu

    Radial Menu

    2
  • Hand-Drawn Progress Bar

    Hand-Drawn Progress Bar

    1
  • Sketch Dropdown Menu

    Sketch Dropdown Menu

    1

More in Forms

View all
  • Premium Auth

    Premium Auth

    524
  • Contact Card

    Contact Card

    1K
  • Book A Demo 1

    Book A Demo 1

    73
  • Login 1

    Login 1

    53
  • Form

    Form

    137
  • Card Studio

    Card Studio

    41
  • SignInPage

    SignInPage

    667
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.6K