JSXIcons.com

Brands icon

Mastercard JSX Icon

Copy the Mastercard icon as an optimized JSX SVG component for React, Next.js, dashboards, landing pages and Tailwind interfaces.

Browse all icons
ComponentMastercardLogo
FilemastercardLogo.jsx
CategoryBrands

Copy-ready code

Mastercard React JSX component

export const MastercardLogo = ({ width = "40px", height = "40px", ...props }) => (
  <svg {...props} width={width} height={height} viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
    <g fill="none" fillRule="evenodd">
      <circle cx="7" cy="12" r="7" fill="#EA001B" />
      <circle cx="17" cy="12" r="7" fill="#FFA200" fillOpacity=".8" />
    </g>
  </svg>
);

How to use the Mastercard icon

import { MastercardLogo } from "@/assets/icons/mastercardLogo"

export default function Example() {
  return <MastercardLogo width="32px" height="32px" />
}

Built for the web

Use it in your stack

This copy-ready component works in React and Next.js projects, and the SVG can be adapted for any interface.

ReactNext.jsJSXSVGBrands icons

Looking for a similar mark? Browse the related icons below or explore the full brands collection.

Related JSX icons

FAQ

Is the Mastercard JSX icon free?

Yes. You can copy the JSX component and use it in React and Next.js projects.

Can I customize it?

Yes. Edit the SVG attributes or pass className, width, height and color props depending on the component.