JSXIcons.com

Flags icon

Mauritius JSX Icon

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

Browse all icons
ComponentMauritiusFlag
FilemauritiusFlag.jsx
CategoryFlags

Copy-ready code

Mauritius React JSX component

// Source: https://raw.githubusercontent.com/lipis/flag-icons/086f7e97d657358203916dbe84f61c2bccaa81eb/flags/4x3/mu.svg
// Asset license: flag-icons MIT. Country flags are national symbols; use respectfully and verify local requirements where applicable.
export const MauritiusFlag = ({ width = "40px", height = "30px", ...props }) => (
  <svg {...props} width={width} height={height} viewBox="0 0 640 480" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" preserveAspectRatio="xMidYMid meet">
    <g fillRule="evenodd">
    <path fill="#00a04d" d="M0 360h640v120H0z"/>
    <path fill="#151f6d" d="M0 120h640v120H0z"/>
    <path fill="#ee2737" d="M0 0h640v120H0z"/>
    <path fill="#ffcd00" d="M0 240h640v120H0z"/>
  </g>
  </svg>
)

How to use the Mauritius icon

import { MauritiusFlag } from "@/assets/icons/mauritiusFlag"

export default function Example() {
  return <MauritiusFlag 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.jsJSXSVGFlags icons

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

Related JSX icons

FAQ

Is the Mauritius 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.