Icons

Simple Mastercard Icon

The Mastercard icon from Simple Icons is a fill-style SVG available in IconStash alongside 3,714+ other icons from the same library. Copy its SVG code, export a custom PNG, or download a React component — no account required.

Interactive Customizer

1.5px
128px

About this icon

Use the Mastercard icon

Icons in the fill style — like Mastercard — are designed for interface components and product UI. Use it across e-commerce checkout flows, shopping carts, payment UI, product listings, storefronts, and fintech apps for a consistent, professional look.

IconStash's editor lets you fine-tune color, size, and stroke width in real time, then export in the format that fits your workflow: SVG, PNG, JSX, or CSS background-mask.

Export formats

Copy clean SVG vectors with one click, generate custom-size PNG files from 16px to 512px, export JSX/React components ready to paste into your project, or use the icon as a CSS background-mask for flexible theming.

All exports are based on the same editable vector — so the Mastercard icon stays pixel-perfect at 16px, 24px, 48px, and any large marketing size.

Design & UX integration

Aesthetic characteristics

Mastercard is a brand mark, not a UI glyph. Simple Icons maintains official-colour SVG logos for thousands of products on a flat 24x24 grid, released under CC0. Because these are brand assets, they belong in tech stacks, README files and "built with" sections rather than in interface chrome.

UX best practices

In checkout flows, product listings and pricing tables, the Mastercard icon sits directly on a conversion path, so label it. Cart, payment and invoice actions need an aria-label even when a visible caption is present, because these controls are where ambiguous iconography measurably costs completed purchases.

Use in your project

React / npm — Simple Icons

npm install simple-icons react-icons

import { SiMastercard } from 'react-icons/si';

// JSX usage:
<SiMastercard size={24} />

Copy the SVG markup directly from the IconStash editor to use the Mastercard icon without any npm package — paste it into HTML, JSX, or a design tool.

Inline SVG (copy & paste)

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="mastercard icon"><path fill="currentColor" d="M11.343 18.031q.088.074.181.146a7.4 7.4 0 0 1-4.107 1.238a7.416 7.416 0 1 1 4.104-13.593c-.06.051-.12.098-.165.15A7.96 7.96 0 0 0 8.595 12a8 8 0 0 0 2.748 6.031m5.241-13.447c-1.52 0-2.931.456-4.105 1.238c.06.051.12.098.165.15A7.96 7.96 0 0 1 15.405 12a8 8 0 0 1-2.748 6.031q-.088.074-.181.146a7.4 7.4 0 0 0 4.107 1.238A7.414 7.414 0 0 0 24 12a7.417 7.417 0 0 0-7.416-7.416M12 6.174q-.144.111-.28.231A7.4 7.4 0 0 0 9.169 12A7.39 7.39 0 0 0 12 17.827q.144-.112.28-.232A7.4 7.4 0 0 0 14.831 12A7.39 7.39 0 0 0 12 6.174"/></svg>

Library & related icons

About Simple Icons

3,700+ free SVG brand icons for popular technologies, platforms, companies, and products. The definitive source for brand logos in tech stacks and README files.

  • Total icons: 3,714+
  • Style: filled
  • License: CC0 1.0
  • npm package: simple-icons
Browse all 3,714 Simple Icons icons →

People also search for

Frequently asked questions

What is the Mastercard icon?

The Mastercard icon is a fill-style SVG icon from the Simple Icons library, categorized under Commerce. It is designed for use in e-commerce checkout flows, shopping carts, payment UI, product listings, storefronts, and fintech apps. On IconStash you can preview it, customize its color and size, and export it in SVG, PNG, JSX, or CSS formats directly from your browser.

Is the Mastercard icon free to use?

Yes. Simple Icons is licensed under CC0 1.0, making it free for personal and commercial use. This means you can freely use the Mastercard icon in personal, commercial, and open-source projects. IconStash provides SVG and PNG access at no cost with no login required.

How do I use the Mastercard icon in React?

Install the package with `npm install simple-icons`, then import the component into your React file. IconStash's detail panel shows you the exact npm command, import statement, and JSX usage snippet for every icon — just click the Code tab and copy with one click.

What is the Simple Icons icon library?

3,700+ free SVG brand icons for popular technologies, platforms, companies, and products. The definitive source for brand logos in tech stacks and README files. It contains 3,714+ icons. IconStash indexes the complete Simple Icons collection alongside 27 other open-source libraries — 134,701 icons total — in a single unified search interface.

Can I download the Mastercard icon as a PNG?

Yes. Open the Mastercard icon in IconStash, set your desired pixel size (16px to 512px) in the detail panel, and click Download PNG. You can also export a multi-resolution ZIP pack containing 16, 24, 32, 48, 64, 128, 256, and 512px PNGs with a single click.

What does the fill icon style mean?

An icon in fill style uses a clean SVG vector format. This style is best suited for interface components. The Simple Icons Mastercard icon follows this visual convention throughout the Simple Icons design system.

Can I change the Mastercard icon's color and size before downloading?

Yes. In IconStash's editor panel, choose from six color presets (blue, slate, green, purple, red, teal) or enter a custom hex value. Drag the size slider (16–256px) or type an exact pixel value up to 512px. Changes apply instantly to the SVG preview, the PNG output, and the copied code.