kanchanasw

Hand-Drawn Checkbox

Forms 36

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

    45
  • Sketch Textarea

    Sketch Textarea

    18
  • Sketch Button

    Sketch Button

    16
  • Sketch Hover Card

    Sketch Hover Card

    10
  • Pagination

    Pagination

    4
  • Radial Menu

    Radial Menu

    1
  • Hand-Drawn Progress Bar

    Hand-Drawn Progress Bar

    1
  • Stepper

    Stepper

More in Forms

View all
  • Premium Auth

    Premium Auth

    493
  • Login 1

    Login 1

    52
  • Authentication Card

    Authentication Card

    44
  • Login 2

    Login 2

    7
  • Form

    Form

    31
  • Login Card

    Login Card

    32
  • Card Studio

    Card Studio

    41
  • Form

    Form

    136