Master Card icon
uil:master-card
The Master Card icon (uil:master-card) is a free SVG icon from the Unicons set by Iconscout. It is drawn on a 24 × 24 grid. Unicons are released under the Apache 2.0 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
- Unicons
- Author
- Iconscout
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Brand Logos
- Tags
- mastercard
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M15.265 5.274a6.7 6.7 0 0 0-3.273.855a6.728 6.728 0 1 0 0 11.745a6.726 6.726 0 1 0 3.273-12.6m-5.028 11.183a4.7 4.7 0 0 1-1.518.273a4.728 4.728 0 0 1 0-9.456a4.7 4.7 0 0 1 1.518.273a6.687 6.687 0 0 0 0 8.91m1.755-1.057a4.695 4.695 0 0 1 0-6.796a4.695 4.695 0 0 1 0 6.796m3.273 1.33a4.7 4.7 0 0 1-1.519-.273a6.687 6.687 0 0 0 0-8.91a4.7 4.7 0 0 1 1.519-.273a4.728 4.728 0 0 1 0 9.456"/></svg>How to use the Master Card icon
React
import { Icon } from "@iconify/react";
<Icon icon="uil:master-card" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="uil:master-card" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="uil:master-card" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[uil--master-card]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/uil -->
<div class="i-uil:master-card"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="uil:master-card"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/uil/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. Unicons are released under the Apache 2.0 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="uil: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/uil/master-card.svg" alt="Master Card icon">, or paste the SVG code inline to style it with CSS.