ICONYZ
English
Credit Card icon from Font Awesome 4

Credit Card icon

fa:credit-card

The Credit Card icon (fa:credit-card) is a free SVG icon from the Font Awesome 4 set by Dave Gandy. It is drawn on a 1920 × 1536 grid. Font Awesome 4 icons are released under the Open Font 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
Font Awesome 4
Author
Dave Gandy
License
OFL-1.1
Size
1920 × 1536
Tags
creditcard
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="1920" height="1536" viewBox="0 0 1920 1536"><path fill="currentColor" d="M1760 0q66 0 113 47t47 113v1216q0 66-47 113t-113 47H160q-66 0-113-47T0 1376V160Q0 94 47 47T160 0zM160 128q-13 0-22.5 9.5T128 160v224h1664V160q0-13-9.5-22.5T1760 128zm1600 1280q13 0 22.5-9.5t9.5-22.5V768H128v608q0 13 9.5 22.5t22.5 9.5zM256 1280v-128h256v128zm384 0v-128h384v128z"/></svg>

How to use the Credit Card icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Font Awesome 4

Credit Card icon in other icon sets

Credit Card icon FAQ

Is the Credit Card icon free for commercial use?

Yes. Font Awesome 4 icons are released under the Open Font 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="fa: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/fa/credit-card.svg" alt="Credit Card icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome 4 icons →