ICONYZ
English
Mastercard icon from CoreUI Brands

Mastercard icon

cib:mastercard

The Mastercard icon (cib:mastercard) is a free SVG icon from the CoreUI Brands set by creativeLabs Łukasz Holeczek. It is drawn on a 32 × 32 grid. CoreUI Brands icons are released under the CC0 1.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
CoreUI Brands
Author
creativeLabs Łukasz Holeczek
License
CC0-1.0
Size
32 × 32
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="m15.125 24.041l.239.193a9.8 9.8 0 0 1-5.473 1.651C4.427 25.885 0 21.464 0 16c0-5.459 4.427-9.885 9.885-9.885c2.027 0 3.912.604 5.475 1.645a3 3 0 0 0-.22.204c-2.337 2.02-3.681 4.953-3.681 8.036s1.339 6.016 3.667 8.041zm6.99-17.926A9.83 9.83 0 0 0 16.64 7.76c.079.068.157.136.22.204A10.63 10.63 0 0 1 20.541 16c0 3.079-1.339 6.011-3.667 8.041l-.239.193a9.8 9.8 0 0 0 5.473 1.651c5.464 0 9.891-4.421 9.891-9.885c0-5.459-4.427-9.885-9.885-9.885zM16 8.235a9.86 9.86 0 0 0-3.776 7.766A9.86 9.86 0 0 0 16 23.772c.131-.099.251-.203.375-.312a9.86 9.86 0 0 0 3.401-7.459A9.86 9.86 0 0 0 16 8.235"/></svg>

How to use the Mastercard icon

React

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

<Icon icon="cib:mastercard" width="24" />

Vue

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

<template>
  <Icon icon="cib:mastercard" width="24" />
</template>

Svelte

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

<Icon icon="cib:mastercard" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[cib--mastercard]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/cib -->
<div class="i-cib:mastercard"></div>

Web component

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

<iconify-icon icon="cib:mastercard"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/cib/mastercard.svg" alt="Mastercard icon" width="24" height="24">

Mastercard icon in other icon sets

Mastercard icon FAQ

Is the Mastercard icon free for commercial use?

Yes. CoreUI Brands icons are released under the CC0 1.0 license, which allows use in personal and commercial projects.

How do I use the Mastercard icon in React?

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

How do I add the Mastercard icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/cib/mastercard.svg" alt="Mastercard icon">, or paste the SVG code inline to style it with CSS.

Browse all CoreUI Brands icons →