Credit Card icon
hugeicons:credit-card
The Credit Card icon (hugeicons:credit-card) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
- Huge Icons
- Author
- Hugeicons
- License
- MIT
- Size
- 24 × 24
- Tags
- creditcard
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5"><path stroke-linecap="round" d="M2 12c0-3.537 0-5.306 1.053-6.487q.253-.284.554-.522C4.862 4 6.741 4 10.5 4h3c3.759 0 5.638 0 6.892.99q.302.24.555.523C22 6.693 22 8.463 22 12s0 5.306-1.053 6.487a4.4 4.4 0 0 1-.555.522C19.138 20 17.26 20 13.5 20h-3c-3.759 0-5.638 0-6.893-.99a4.4 4.4 0 0 1-.554-.523C2 17.307 2 15.537 2 12"/><path stroke-linecap="round" stroke-miterlimit="10" d="M10 16h1.5m3 0H18"/><path d="M2 9h20"/></g></svg>How to use the Credit Card icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:credit-card" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:credit-card" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:credit-card" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--credit-card]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:credit-card"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:credit-card"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/credit-card.svg" alt="Credit Card icon" width="24" height="24">Related icons in Huge Icons
Credit Card icon in other icon sets
Credit Card icon FAQ
Is the Credit Card icon free for commercial use?
Yes. Huge 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="hugeicons: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/hugeicons/credit-card.svg" alt="Credit Card icon">, or paste the SVG code inline to style it with CSS.