Avijit Dey

Badge X Icon

Component

About

An animated badge-with-X icon that plays a scale and rotation animation on hover, usable as a drop-in replacement for a static close/cancel/verification-denied icon.

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

Code

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

Usage.tsx

import BadgeXIcon from "@/components/ui/badge-x-icon";

export default function BadgeXIconDemo() {
  return (
    <div className="flex h-screen w-full items-center justify-center">
      <BadgeXIcon size={48} />
    </div>
  );
}

Dependencies

More by Avijit Dey

View all
  • VK Square Icon

    VK Square Icon

  • Bell Off Icon

    Bell Off Icon

  • Filter Icon

    Filter Icon

  • Shield User Icon

    Shield User Icon

  • Analytics Down Icon

    Analytics Down Icon

  • Coffee Beans Icon

    Coffee Beans Icon

  • Copy Icon

    Copy Icon

  • Location Icon

    Location Icon