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
  • Checkmark Circle Icon

    Checkmark Circle Icon

    1
  • Eye Icon

    Eye Icon

    1
  • Mouse Pointer Click Icon

    Mouse Pointer Click Icon

    1
  • 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

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Statistics Card 7

    Statistics Card 7

    327
  • Statistics Card 2

    Statistics Card 2

    305
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    625
  • Card Studio

    Card Studio

    5
  • The Item one

    The Item one

    4
  • Weather Card

    Weather Card

    65
  • Card

    Card

    9