ICONYZ
English
Credit Card icon from Simple line icons

Credit Card icon

simple-line-icons:credit-card

The Credit Card icon (simple-line-icons:credit-card) is a free SVG icon from the Simple line icons set by Sabbir Ahmed. It is drawn on a 1024 × 1024 grid. Simple line 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
Simple line icons
Author
Sabbir Ahmed
License
MIT
Size
1024 × 1024
Tags
creditcard
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024"><path fill="currentColor" d="M928.144 176H95.856c-53.024 0-96 42.976-96 96v480c0 53.024 42.976 96 96 96h832.288c53.024 0 96-42.976 96-96V272c0-53.024-42.976-96-96-96M95.856 240h832.288c17.664 0 32 14.336 32 32v64H63.856v-64c0-17.664 14.351-32 32-32m832.288 544H95.856c-17.664 0-32-14.336-32-32V464h896.288v288c0 17.664-14.352 32-32 32"/></svg>

How to use the Credit Card icon

React

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

<Icon icon="simple-line-icons:credit-card" width="24" />

Vue

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

<template>
  <Icon icon="simple-line-icons:credit-card" width="24" />
</template>

Svelte

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

<Icon icon="simple-line-icons:credit-card" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="simple-line-icons:credit-card"></iconify-icon>

HTML image

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

Credit Card icon in other icon sets

Credit Card icon FAQ

Is the Credit Card icon free for commercial use?

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

Browse all Simple line icons →