ICONYZ
English
Credit Card icon from andrsrxn/icons

Credit Card icon

andrsrxn:credit-card

The Credit Card icon (andrsrxn:credit-card) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
andrsrxn/icons
Author
Andrés Raxón
License
MIT
Size
24 × 24
Category
Finance
Tags
creditcard
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M1.83 7.93c0-1.6 0-2.4.43-2.95a2 2 0 0 1 .33-.32c.55-.44 1.35-.44 2.95-.44h12.59c1.6 0 2.4 0 2.94.44q.18.14.33.32c.43.55.43 1.35.43 2.95c0 .8 0 1.2-.22 1.47l-.16.16c-.27.22-.67.22-1.47.22H3.68c-.8 0-1.2 0-1.47-.22l-.16-.16c-.22-.27-.22-.67-.22-1.47" opacity=".2"/><rect width="20.67" height="15.55" x="1.66" y="4.22" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" rx="3"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M1.66 9.38H22M4.97 12.84H10"/></g></svg>

How to use the Credit Card icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in andrsrxn/icons

Credit Card icon in other icon sets

Credit Card icon FAQ

Is the Credit Card icon free for commercial use?

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

Browse all andrsrxn/icons →