Credit Card icon
icomoon-free:credit-card
The Credit Card icon (icomoon-free:credit-card) is a free SVG icon from the IcoMoon Free set by Keyamoon. It is drawn on a 24 × 24 grid. IcoMoon Free icons are released under the GPL license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- IcoMoon Free
- Author
- Keyamoon
- License
- GPL-3.0-or-later
- Size
- 24 × 24
- Tags
- creditcard
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M14.5 2h-13C.675 2 0 2.675 0 3.5v9c0 .825.675 1.5 1.5 1.5h13c.825 0 1.5-.675 1.5-1.5v-9c0-.825-.675-1.5-1.5-1.5m-13 1h13c.271 0 .5.229.5.5V5H1V3.5c0-.271.229-.5.5-.5m13 10h-13a.507.507 0 0 1-.5-.5V8h14v4.5c0 .271-.229.5-.5.5M2 10h1v2H2zm2 0h1v2H4zm2 0h1v2H6z"/></svg>How to use the Credit Card icon
React
import { Icon } from "@iconify/react";
<Icon icon="icomoon-free:credit-card" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="icomoon-free:credit-card" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="icomoon-free:credit-card" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[icomoon-free--credit-card]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/icomoon-free -->
<div class="i-icomoon-free:credit-card"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="icomoon-free:credit-card"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/icomoon-free/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. IcoMoon Free icons are released under the GPL license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license.
How do I use the Credit Card icon in React?
Install @iconify/react and render <Icon icon="icomoon-free: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/icomoon-free/credit-card.svg" alt="Credit Card icon">, or paste the SVG code inline to style it with CSS.