Skip to content
Cuelark UI

Hover the icon or press Play. Suggested motion: drive. Pick another to preview it and update the animated code:

Heroicons · HiOutlineCreditCard

Outline Credit Card icon

A free outline credit card icon from Heroicons, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.

License
MIT license
Project
github.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/heroicons/outline-credit-card.json
components/icons/heroicons-outline-credit-card.tsx
import * as React from "react";

/**
 * Outline Credit Card from Heroicons (https://github.com/tailwindlabs/heroicons), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/heroicons/outline-credit-card. Sized in em, colored by currentColor.
 */
export function HiOutlineCreditCardIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      fill="none"
      strokeWidth="2"
      viewBox="0 0 24 24"
      aria-hidden="true"
      stroke="currentColor"
      fill="currentColor"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        strokeLinecap="round"
        strokeLinejoin="round"
        d="M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z"
      />
    </svg>
  );
}
With react-icons
import { HiOutlineCreditCard } from "react-icons/hi";

export function Example() {
  return <HiOutlineCreditCard className="size-5" />;
}
outline-credit-card.svg
<svg
  fill="none"
  stroke-width="2"
  viewBox="0 0 24 24"
  aria-hidden="true"
  stroke="currentColor"
  fill="currentColor"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <path
    stroke-linecap="round"
    stroke-linejoin="round"
    d="M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z"
  />
</svg>
Attribution
"Outline Credit Card" icon from Heroicons (https://github.com/tailwindlabs/heroicons), licensed under MIT license.

Related icons: payment, debit, wallet, billing

Outline Credit Card icon in other sets