About
A button whose fill sweeps away on hover using an animated sprite-sheet CSS mask, revealing the label underneath like a flipbook wipe transition.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Mask Button to your project and fits it to your theme.
Code
How Mask Button is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { MaskButton } from "@/components/ui/mask-button";
export default function MaskButtonMasksDemo() {
return (
<div className="flex flex-wrap items-center justify-center gap-6">
<MaskButton mask="nature">Explore</MaskButton>
<MaskButton mask="urban">Book a demo</MaskButton>
<MaskButton mask="forest">See gallery</MaskButton>
</div>
);
}













