ICONYZ
English
Credit Card icon from Entypo+

Credit Card icon

entypo:credit-card

The Credit Card icon (entypo:credit-card) is a free SVG icon from the Entypo+ set by Daniel Bruce. It is drawn on a 20 × 20 grid. Entypo+ icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Entypo+
Author
Daniel Bruce
License
CC-BY-SA-4.0
Size
20 × 20
Tags
creditcard
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M18 3H2C.899 3 0 3.9 0 5v10c0 1.1.899 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 12H2V9h16zm0-9H2V5h16zM4 11.1v.6h.6v-.6zm3.6 1.199v.601h1.2v-.601h.6v-.6h.6v-.6H8.8v.6h-.601v.6zm2.4.601v-.601h-.601v.601zm-3 0v-.601H5.8v.601zm.6-1.201h.6v-.6H7v1.199h.6zm-2.401.6H5.8v-.6h.6v-.6H5.2v.6h-.6v.6H4v.601h1.199z"/></svg>

How to use the Credit Card icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Entypo+

Credit Card icon in other icon sets

Credit Card icon FAQ

Is the Credit Card icon free for commercial use?

Yes. Entypo+ icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Credit Card icon in React?

Install @iconify/react and render <Icon icon="entypo: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/entypo/credit-card.svg" alt="Credit Card icon">, or paste the SVG code inline to style it with CSS.

Browse all Entypo+ icons →