About
A button that reveals a hidden secret value on hold or toggle, with a blur-in animation and an eye icon indicator. 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 RevealButton to your project and fits it to your theme.
Code
How RevealButton 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-reveal-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 secret="source-demo-value" onRevealChange={() => setDone(true)} /><p role="status">{done ? "Action triggered locally" : ""}</p></div>;}















