lucasbassetti

Mask Button

Buttons

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 MaskButtonSizesDemo() {
  return (
    <div className="flex flex-wrap items-center justify-center gap-6">
      <MaskButton size="sm">Small</MaskButton>
      <MaskButton size="md">Medium</MaskButton>
      <MaskButton size="lg">Large</MaskButton>
    </div>
  );
}

More by lucasbassetti

View all
  • Multi Button

    Multi Button

    22
  • Magic Button

    Magic Button

    10
  • Animated Tooltip

    Animated Tooltip

    6
  • Progress Fold Button

    Progress Fold Button

    3
  • Bento Grid

    Bento Grid

More in Buttons

View all
  • Button

    Button

    1
  • Texture Button

    Texture Button

    97
  • Eclipse Button

    Eclipse Button

    39
  • App Store Button

    App Store Button

    458
  • HeroUI Button Group

    HeroUI Button Group

    2
  • Button

    Button

    4
  • Button

    Button

    65
  • Button

    Button

    68