Avijit Dey

Credit Card Icon

Cards

About

An animated credit card SVG icon that scales, tilts, and draws its stripe and dashes on hover or via an imperative ref, for use in buttons, nav items, or payment UI.

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

Code

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

Usage.tsx

import { CreditCardIcon } from "@/components/ui/hu-credit-card";

export default function CreditCardIconDemo() {
  return (
    <div className="flex min-h-[300px] w-full items-center justify-center">
      <CreditCardIcon 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

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    33
  • Course Design Cards

    Course Design Cards

    1.1K
  • Card

    Card

    70
  • Statistics Card 2

    Statistics Card 2

    264
  • Statistics Card 10

    Statistics Card 10

    263
  • Card

    Card

    17
  • Card Studio

    Card Studio

    9
  • The Item one

    The Item one

    3