credit card icon
credit-card from Prime Icons by PrimeTek · Regular · MIT Free for personal and commercial use.
- Name
- credit-card
- Set
- Prime Icons
- Style
- Regular
- Viewbox
- 24×24
- License
- MIT
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-cardFont Awesome Solidcredit-cardFeather Iconscredit-card-outlineFlowbite Iconscredit-cardFluent Emojicredit-cardFluent Emoji Flatcredit-cardFluent Emoji High Contrastcredit-cardcss.ggcredit-cardHealth Iconscredit-cardHeroIconscredit-cardHuge Iconscredit-cardHumbleiconscredit-cardIconoir
Use the credit card icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M19 5.25H5A1.76 1.76 0 0 0 3.25 7v10A1.76 1.76 0 0 0 5 18.75h14A1.76 1.76 0 0 0 20.75 17V7A1.76 1.76 0 0 0 19 5.25M5 6.75h14a.25.25 0 0 1 .25.25v2.25H4.75V7A.25.25 0 0 1 5 6.75m14 10.5H5a.25.25 0 0 1-.25-.25v-6.25h14.5V17a.25.25 0 0 1-.25.25"/><path fill="currentColor" d="M9 13H7a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2"/></svg>
React
import type { SVGProps } from "react";
export function PrimeCreditCard(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M19 5.25H5A1.76 1.76 0 0 0 3.25 7v10A1.76 1.76 0 0 0 5 18.75h14A1.76 1.76 0 0 0 20.75 17V7A1.76 1.76 0 0 0 19 5.25M5 6.75h14a.25.25 0 0 1 .25.25v2.25H4.75V7A.25.25 0 0 1 5 6.75m14 10.5H5a.25.25 0 0 1-.25-.25v-6.25h14.5V17a.25.25 0 0 1-.25.25"/><path fill="currentColor" d="M9 13H7a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M19 5.25H5A1.76 1.76 0 0 0 3.25 7v10A1.76 1.76 0 0 0 5 18.75h14A1.76 1.76 0 0 0 20.75 17V7A1.76 1.76 0 0 0 19 5.25M5 6.75h14a.25.25 0 0 1 .25.25v2.25H4.75V7A.25.25 0 0 1 5 6.75m14 10.5H5a.25.25 0 0 1-.25-.25v-6.25h14.5V17a.25.25 0 0 1-.25.25"/><path fill="currentColor" d="M9 13H7a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2"/></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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M19%205.25H5A1.76%201.76%200%200%200%203.25%207v10A1.76%201.76%200%200%200%205%2018.75h14A1.76%201.76%200%200%200%2020.75%2017V7A1.76%201.76%200%200%200%2019%205.25M5%206.75h14a.25.25%200%200%201%20.25.25v2.25H4.75V7A.25.25%200%200%201%205%206.75m14%2010.5H5a.25.25%200%200%201-.25-.25v-6.25h14.5V17a.25.25%200%200%201-.25.25%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9%2013H7a1%201%200%200%200%200%202h2a1%201%200%200%200%200-2%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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M19%205.25H5A1.76%201.76%200%200%200%203.25%207v10A1.76%201.76%200%200%200%205%2018.75h14A1.76%201.76%200%200%200%2020.75%2017V7A1.76%201.76%200%200%200%2019%205.25M5%206.75h14a.25.25%200%200%201%20.25.25v2.25H4.75V7A.25.25%200%200%201%205%206.75m14%2010.5H5a.25.25%200%200%201-.25-.25v-6.25h14.5V17a.25.25%200%200%201-.25.25%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9%2013H7a1%201%200%200%200%200%202h2a1%201%200%200%200%200-2%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/prime/credit-card.svg?color=%231a73e8&size=48