Credit Cards icon
griddy-icons:credit-cards
The Credit Cards icon (griddy-icons:credit-cards) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy 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
- Griddy Icons
- Author
- Zuzana Benova
- License
- MIT
- Size
- 24 × 24
- Tags
- creditcards, card
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M6.75 4h13.5c.965 0 1.75.785 1.75 1.75v9.5c0 .965-.785 1.75-1.75 1.75H6.75C5.785 17 5 16.215 5 15.25v-9.5C5 4.785 5.785 4 6.75 4m13.5 1.5H6.75c-.14 0-.25.11-.25.25v2.245h14V5.75c0-.14-.11-.25-.25-.25m-13.5 10h13.5c.14 0 .25-.11.25-.25V9.5h-14v5.75c0 .14.11.25.25.25M3.5 7v10.25c0 .69.56 1.25 1.25 1.25H19.5V20H4.75A2.755 2.755 0 0 1 2 17.25V7z" clip-rule="evenodd"/></svg>How to use the Credit Cards icon
React
import { Icon } from "@iconify/react";
<Icon icon="griddy-icons:credit-cards" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="griddy-icons:credit-cards" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="griddy-icons:credit-cards" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[griddy-icons--credit-cards]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/griddy-icons -->
<div class="i-griddy-icons:credit-cards"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="griddy-icons:credit-cards"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/griddy-icons/credit-cards.svg" alt="Credit Cards icon" width="24" height="24">Related icons in Griddy Icons
Credit Cards icon in other icon sets
Credit Cards icon FAQ
Is the Credit Cards icon free for commercial use?
Yes. Griddy Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Credit Cards icon in React?
Install @iconify/react and render <Icon icon="griddy-icons:credit-cards" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Credit Cards icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/griddy-icons/credit-cards.svg" alt="Credit Cards icon">, or paste the SVG code inline to style it with CSS.