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















