JSXIcons.com

Flags icon

Western Sahara JSX Icon

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

Browse all icons
ComponentWesternSaharaFlag
FilewesternsaharaFlag.jsx
CategoryFlags

Copy-ready code

Western Sahara React JSX component

// Source: https://raw.githubusercontent.com/lipis/flag-icons/086f7e97d657358203916dbe84f61c2bccaa81eb/flags/4x3/eh.svg
// Asset license: flag-icons MIT. Country flags are national symbols; use respectfully and verify local requirements where applicable.
export const WesternSaharaFlag = ({ 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">
    <defs>
    <clipPath id="eh-a">
      <path fillOpacity=".7" d="M-158.7 0H524v512h-682.7z"/>
    </clipPath>
  </defs>
  <g fillRule="evenodd" clipPath="url(#eh-a)" transform="translate(148.8)scale(.94)">
    <path fill="#000001" d="M-158.3 0h680.9v255.3h-680.9z"/>
    <path fill="#007a3d" d="M-158.3 255.3h680.9v255.3h-680.9z"/>
    <path fill="#fff" d="M-158.3 148.9h680.9v212.8h-680.9z"/>
    <path fill="#c4111b" d="m-158.3 0 340.4 255.3-340.4 255.3Z"/>
    <circle cx="352.3" cy="255.3" r="68.1" fill="#c4111b"/>
    <circle cx="377.9" cy="255.3" r="68.1" fill="#fff"/>
    <path fill="#c4111b" d="m334 296.5 29.1-20.7 28.8 21-10.8-34 29-20.9-35.7-.2-11-34-11.2 33.9-35.7-.2 28.7 21.2-11.1 34z"/>
  </g>
  </svg>
)

How to use the Western Sahara icon

import { WesternSaharaFlag } from "@/assets/icons/westernsaharaFlag"

export default function Example() {
  return <WesternSaharaFlag 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 Western Sahara 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.