credit card icon
credit-card from Font Awesome Solid by Dave Gandy · Solid · Finance · CC-BY-4.0 Attribution required.
- Name
- credit-card
- Set
- Font Awesome Solid
- Style
- Solid
- Category
- Finance
- Viewbox
- 640×640
- License
- CC BY 4.0
The same icon in other sets
credit-cardAkar Iconscredit-card-filledAnt Design Iconscredit-cardBootstrap Iconscredit-cardBoxIcons v2credit-cardBoxIcons v2 Solidcredit-cardCodiconscredit-cardEmoji One (Colored)credit-cardElement Pluscredit-card-fillEva Iconscredit-cardFont Awesome 6 Regularcredit-cardFont Awesome 6 Solidcredit-cardFont Awesome Regularcredit-cardFeather Iconscredit-card-outlineFlowbite Iconscredit-cardFluent Emojicredit-cardFluent Emoji Flatcredit-cardFluent Emoji High Contrastcredit-cardcss.ggcredit-cardHealth Iconscredit-cardHeroIconscredit-cardHuge Iconscredit-cardHumbleiconscredit-cardIconoircredit-cardJam Icons
More finance icons from Font Awesome Solid
Use the credit card icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 640 640"><path fill="currentColor" d="M64 192v32h512v-32c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64m0 80v176c0 35.3 28.7 64 64 64h384c35.3 0 64-28.7 64-64V272zm64 152c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24s-10.7 24-24 24h-48c-13.3 0-24-10.7-24-24m144 0c0-13.3 10.7-24 24-24h64c13.3 0 24 10.7 24 24s-10.7 24-24 24h-64c-13.3 0-24-10.7-24-24"/></svg>
React
import type { SVGProps } from "react";
export function Fa7SolidCreditCard(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 640 640"><path fill="currentColor" d="M64 192v32h512v-32c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64m0 80v176c0 35.3 28.7 64 64 64h384c35.3 0 64-28.7 64-64V272zm64 152c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24s-10.7 24-24 24h-48c-13.3 0-24-10.7-24-24m144 0c0-13.3 10.7-24 24-24h64c13.3 0 24 10.7 24 24s-10.7 24-24 24h-64c-13.3 0-24-10.7-24-24"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 640 640"><path fill="currentColor" d="M64 192v32h512v-32c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64m0 80v176c0 35.3 28.7 64 64 64h384c35.3 0 64-28.7 64-64V272zm64 152c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24s-10.7 24-24 24h-48c-13.3 0-24-10.7-24-24m144 0c0-13.3 10.7-24 24-24h64c13.3 0 24 10.7 24 24s-10.7 24-24 24h-64c-13.3 0-24-10.7-24-24"/></svg> </template>
CSS
.icon-credit-card {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20640%20640%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M64%20192v32h512v-32c0-35.3-28.7-64-64-64H128c-35.3%200-64%2028.7-64%2064m0%2080v176c0%2035.3%2028.7%2064%2064%2064h384c35.3%200%2064-28.7%2064-64V272zm64%20152c0-13.3%2010.7-24%2024-24h48c13.3%200%2024%2010.7%2024%2024s-10.7%2024-24%2024h-48c-13.3%200-24-10.7-24-24m144%200c0-13.3%2010.7-24%2024-24h64c13.3%200%2024%2010.7%2024%2024s-10.7%2024-24%2024h-64c-13.3%200-24-10.7-24-24%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20640%20640%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M64%20192v32h512v-32c0-35.3-28.7-64-64-64H128c-35.3%200-64%2028.7-64%2064m0%2080v176c0%2035.3%2028.7%2064%2064%2064h384c35.3%200%2064-28.7%2064-64V272zm64%20152c0-13.3%2010.7-24%2024-24h48c13.3%200%2024%2010.7%2024%2024s-10.7%2024-24%2024h-48c-13.3%200-24-10.7-24-24m144%200c0-13.3%2010.7-24%2024-24h64c13.3%200%2024%2010.7%2024%2024s-10.7%2024-24%2024h-64c-13.3%200-24-10.7-24-24%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/fa7-solid/credit-card.svg?color=%231a73e8&size=48