ICONYZ
English
Credit Card icon from Stash Icons

Credit Card icon

stash:credit-card

The Credit Card icon (stash:credit-card) is a free SVG icon from the Stash Icons set by Pingback LLC. It is drawn on a 24 × 24 grid. Stash 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
Stash Icons
Author
Pingback LLC
License
MIT
Size
24 × 24
Tags
creditcard
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M13 14.5a1 1 0 0 1 1-1h3a1 1 0 1 1 0 2h-3a1 1 0 0 1-1-1"/><path fill="currentColor" d="M16.83 4.75H7.17c-.535 0-.98 0-1.345.03c-.38.03-.736.098-1.073.27A2.75 2.75 0 0 0 3.55 6.252c-.172.337-.24.693-.27 1.073c-.03.365-.03.81-.03 1.345v6.66c0 .535 0 .98.03 1.345c.03.38.098.736.27 1.073a2.75 2.75 0 0 0 1.202 1.202c.337.172.693.24 1.073.27c.365.03.81.03 1.345.03h9.66c.535 0 .98 0 1.345-.03c.38-.03.736-.098 1.073-.27a2.75 2.75 0 0 0 1.202-1.201c.172-.338.24-.694.27-1.074c.03-.365.03-.81.03-1.344V8.67c0-.535 0-.98-.03-1.345c-.03-.38-.098-.736-.27-1.073a2.75 2.75 0 0 0-1.2-1.202c-.338-.172-.694-.24-1.074-.27c-.365-.03-.81-.03-1.345-.03M5.433 6.386c.09-.046.227-.088.514-.111c.296-.024.68-.025 1.253-.025h9.6c.572 0 .957 0 1.252.025c.288.023.425.065.515.111c.236.12.427.311.547.547c.046.09.088.227.111.514c.021.26.024.589.025 1.053H4.75c0-.464.004-.793.025-1.053c.023-.287.065-.424.111-.514a1.25 1.25 0 0 1 .547-.547M4.75 10.5h14.5v4.8c0 .572 0 .957-.025 1.252c-.023.288-.065.425-.111.515a1.25 1.25 0 0 1-.547.547c-.09.046-.227.088-.515.111c-.295.024-.68.025-1.252.025H7.2c-.572 0-.957 0-1.253-.025c-.287-.023-.424-.065-.514-.111a1.25 1.25 0 0 1-.547-.547c-.046-.09-.088-.227-.111-.515c-.024-.295-.025-.68-.025-1.252z"/></svg>

How to use the Credit Card icon

React

import { Icon } from "@iconify/react";

<Icon icon="stash:credit-card" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="stash:credit-card" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="stash:credit-card" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[stash--credit-card]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/stash -->
<div class="i-stash:credit-card"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="stash:credit-card"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/stash/credit-card.svg" alt="Credit Card icon" width="24" height="24">

Related icons in Stash Icons

Credit Card icon in other icon sets

Credit Card icon FAQ

Is the Credit Card icon free for commercial use?

Yes. Stash 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="stash: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/stash/credit-card.svg" alt="Credit Card icon">, or paste the SVG code inline to style it with CSS.

Browse all Stash Icons →