Credit Card icon
ei:credit-card
The Credit Card icon (ei:credit-card) is a free SVG icon from the Evil Icons set by Alexander Madyankin and Roman Shamin. It is drawn on a 50 × 50 grid. Evil Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Evil Icons
- Author
- Alexander Madyankin and Roman Shamin
- License
- MIT
- Size
- 50 × 50
- Tags
- creditcard
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50"><path fill="currentColor" d="M39 38H11c-1.7 0-3-1.3-3-3V15c0-1.7 1.3-3 3-3h28c1.7 0 3 1.3 3 3v20c0 1.7-1.3 3-3 3M11 14c-.6 0-1 .4-1 1v20c0 .6.4 1 1 1h28c.6 0 1-.4 1-1V15c0-.6-.4-1-1-1z"/><path fill="currentColor" d="M9 16h32v6H9zm3 10h1v2h-1zm2 0h1v2h-1zm2 0h1v2h-1zm3 0h1v2h-1zm2 0h1v2h-1zm2 0h1v2h-1zm3 0h1v2h-1zm2 0h1v2h-1zm2 0h1v2h-1zm3 0h1v2h-1zm2 0h1v2h-1zm2 0h1v2h-1z"/></svg>How to use the Credit Card icon
React
import { Icon } from "@iconify/react";
<Icon icon="ei:credit-card" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ei:credit-card" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ei:credit-card" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ei--credit-card]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ei -->
<div class="i-ei:credit-card"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ei:credit-card"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ei/credit-card.svg" alt="Credit Card icon" width="24" height="24">Credit Card icon in other icon sets
Credit Card icon FAQ
Is the Credit Card icon free for commercial use?
Yes. Evil Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Credit Card icon in React?
Install @iconify/react and render <Icon icon="ei:credit-card" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Credit Card icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ei/credit-card.svg" alt="Credit Card icon">, or paste the SVG code inline to style it with CSS.