kanchanasw

Sketch Button

Buttons

About

A clickable button whose border and fill look hand-drawn with a wobbly rough.js sketch outline, supporting primary/secondary/outline/ghost styles, sizes, icons and a loading spinner.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Sketch Button to your project and fits it to your theme.

Code

How Sketch Button is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import Button from "@/components/ui/sketch-button";

function PlusIcon() {
  return (
    <svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true">
      <path
        d="M2 8h12M8 2v12"
        stroke="currentColor"
        strokeWidth="1.5"
        fill="none"
      />
    </svg>
  );
}

export default function SketchButtonIconDemo() {
  return (
    <div className="flex w-full flex-wrap items-center justify-center gap-4 p-10">
      <Button
        seed={42}
        animate={false}
        startIcon={<PlusIcon />}
        endIcon={<PlusIcon />}
      >
        Continue
      </Button>
      <Button
        seed={42}
        animate={false}
        startIcon={<PlusIcon />}
        aria-label="Add"
      />
    </div>
  );
}

Dependencies

More by kanchanasw

View all
  • Sketch Tabs

    Sketch Tabs

    52
  • Hand-Drawn Checkbox

    Hand-Drawn Checkbox

    40
  • Sketch Textarea

    Sketch Textarea

    21
  • Sketch Hover Card

    Sketch Hover Card

    15
  • Pagination

    Pagination

    5
  • Radial Menu

    Radial Menu

    1
  • Hand-Drawn Progress Bar

    Hand-Drawn Progress Bar

    1
  • Stepper

    Stepper

More in Buttons

View all
  • Button

    Button

    14
  • Button

    Button

    34
  • Texture Button

    Texture Button

    92
  • Button Save

    Button Save

    46
  • Button

    Button

    64
  • Button Group

    Button Group

    3
  • App Store Button

    App Store Button

    454
  • Notification Button

    Notification Button

    103