ICONYZ
English
Master Card icon from Huge Icons

Master Card icon

hugeicons:master-card

The Master Card icon (hugeicons:master-card) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
Huge Icons
Author
Hugeicons
License
MIT
Size
24 × 24
Tags
mastercard
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M2 12c0-3.537 0-5.306 1.053-6.487q.253-.284.554-.522C4.862 4 6.741 4 10.5 4h3c3.759 0 5.638 0 6.892.99q.302.24.555.523C22 6.693 22 8.463 22 12s0 5.306-1.053 6.487a4.4 4.4 0 0 1-.555.522C19.138 20 17.26 20 13.5 20h-3c-3.759 0-5.638 0-6.893-.99a4.4 4.4 0 0 1-.554-.523C2 17.307 2 15.537 2 12"/><path d="M13 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z"/><path d="M12 9.764a3 3 0 1 1 0 4.472"/></g></svg>

How to use the Master Card icon

React

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

<Icon icon="hugeicons:master-card" width="24" />

Vue

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

<template>
  <Icon icon="hugeicons:master-card" width="24" />
</template>

Svelte

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

<Icon icon="hugeicons:master-card" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="hugeicons:master-card"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/hugeicons/master-card.svg" alt="Master Card icon" width="24" height="24">

Master Card icon in other icon sets

Master Card icon FAQ

Is the Master Card icon free for commercial use?

Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Master Card icon in React?

Install @iconify/react and render <Icon icon="hugeicons:master-card" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Master Card icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/master-card.svg" alt="Master Card icon">, or paste the SVG code inline to style it with CSS.

Browse all Huge Icons →