Creditcard icon
whh:creditcard
The Creditcard icon (whh:creditcard) is a free SVG icon from the WebHostingHub Glyphs set by WebHostingHub. It is drawn on a 1025 × 768 grid. WebHostingHub Glyphs 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
- WebHostingHub Glyphs
- Author
- WebHostingHub
- License
- OFL-1.1
- Size
- 1025 × 768
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="1025" height="768" viewBox="0 0 1025 768"><path fill="currentColor" d="M960.31 768h-896q-27 0-45.5-18.5T.31 704V256h1024v448q0 27-18.5 45.5t-45.5 18.5m-800-128h256q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5h-256q-13 0-22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5m128-256h-128q-13 0-22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5h128q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5m192 0h-64q-13 0-22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5h64q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5m32 224q0 13 9.5 22.5t22.5 9.5h256q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5h-256q-13 0-22.5 9.5t-9.5 22.5m160-224h-64q-13 0-22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5h64q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5m192 0h-64q-13 0-22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5h64q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5M.31 64q0-26 18.5-45t45.5-19h896q27 0 45.5 19t18.5 45v64H.31z"/></svg>How to use the Creditcard icon
React
import { Icon } from "@iconify/react";
<Icon icon="whh:creditcard" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="whh:creditcard" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="whh:creditcard" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[whh--creditcard]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/whh -->
<div class="i-whh:creditcard"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="whh:creditcard"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/whh/creditcard.svg" alt="Creditcard icon" width="24" height="24">Creditcard icon in other icon sets
Creditcard icon FAQ
Is the Creditcard icon free for commercial use?
Yes. WebHostingHub Glyphs icons are released under the Open Font License, which allows use in personal and commercial projects.
How do I use the Creditcard icon in React?
Install @iconify/react and render <Icon icon="whh:creditcard" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Creditcard icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/whh/creditcard.svg" alt="Creditcard icon">, or paste the SVG code inline to style it with CSS.