jay sharma

CooldownButton

Buttons 1

About

A button that locks itself behind a draining radial timer after each click to stop spam and double-submits, taunting you while you wait. Original Evil Buttons source, published with its Apache-2.0 license.

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

Code

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

Usage.tsx

import { useState } from "react";
import Component from "@/components/ui/evilbuttons-cooldown-button";
export default function Demo(){const [done,setDone]=useState(false);return <div data-component-demo className="dark flex min-h-screen w-full flex-col items-center justify-center gap-6 bg-neutral-950 px-6 text-white"><Component onClick={() => setDone(true)} /><p role="status">{done ? "Action triggered locally" : ""}</p></div>;}

Dependencies

More by jay sharma

View all
  • Live Orb

    Live Orb

    205
  • Chrome Button

    Chrome Button

    181
  • Frame Button

    Frame Button

    131
  • Highlight Button

    Highlight Button

    76
  • ASCII Fluid

    ASCII Fluid

    72
  • Motion Button

    Motion Button

    59
  • Brutal Button

    Brutal Button

    55
  • Grid Button

    Grid Button

    49

More in Buttons

View all
  • Button

    Button

    14
  • Texture Button

    Texture Button

    92
  • Button

    Button

    34
  • Button

    Button

    64
  • Button Save

    Button Save

    46
  • Button

    Button

  • Notification Button

    Notification Button

    103
  • App Store Button

    App Store Button

    453