JSXIcons.com

Flags icon

Malaysia JSX Icon

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

Browse all icons
ComponentMalaysiaFlag
FilemalaysiaFlag.jsx
CategoryFlags

Copy-ready code

Malaysia React JSX component

// Source: https://raw.githubusercontent.com/lipis/flag-icons/main/flags/4x3/my.svg
// Asset license: flag-icons MIT. Country flags are national symbols; use respectfully and verify local requirements where applicable.
export const MalaysiaFlag = ({ 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 clip-path="url(#my-a)">
    <path fill="#C00" d="M0 0h640v480H0z"/>
    <path fill="#C00" d="M0 0h640v34.3H0z"/>
    <path fill="#fff" d="M0 34.3h640v34.3H0z"/>
    <path fill="#C00" d="M0 68.6h640v34.3H0z"/>
    <path fill="#fff" d="M0 102.9h640V137H0z"/>
    <path fill="#C00" d="M0 137.1h640v34.3H0z"/>
    <path fill="#fff" d="M0 171.4h640v34.3H0z"/>
    <path fill="#C00" d="M0 205.7h640V240H0z"/>
    <path fill="#fff" d="M0 240h640v34.3H0z"/>
    <path fill="#C00" d="M0 274.3h640v34.3H0z"/>
    <path fill="#fff" d="M0 308.6h640v34.3H0z"/>
    <path fill="#C00" d="M0 342.9h640V377H0z"/>
    <path fill="#fff" d="M0 377.1h640v34.3H0z"/>
    <path fill="#C00" d="M0 411.4h640v34.3H0z"/>
    <path fill="#fff" d="M0 445.7h640V480H0z"/>
    <path fill="#006" d="M0 .5h320v274.3H0z"/>
    <path fill="#FC0" d="m207.5 73.8 6 40.7 23-34-12.4 39.2 35.5-20.8-28.1 30 41-3.2-38.3 14.8 38.3 14.8-41-3.2 28.1 30-35.5-20.8 12.3 39.3-23-34.1-6 40.7-5.9-40.7-23 34 12.4-39.2-35.5 20.8 28-30-41 3.2 38.4-14.8-38.3-14.8 41 3.2-28.1-30 35.5 20.8-12.4-39.3 23 34.1zm-33.3 1.7a71 71 0 0 0-100 65 71 71 0 0 0 100 65 80 80 0 0 1-83.2 6.2 80 80 0 0 1-43.4-71.2 80 80 0 0 1 126.6-65"/>
  </g>
  <defs>
    <clipPath id="my-a">
      <path fill="#fff" d="M0 0h640v480H0z"/>
    </clipPath>
  </defs>
  </svg>
)

How to use the Malaysia icon

import { MalaysiaFlag } from "@/assets/icons/malaysiaFlag"

export default function Example() {
  return <MalaysiaFlag 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 Malaysia 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.