JSXIcons.com

Flags icon

Somalia JSX Icon

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

Browse all icons
ComponentSomaliaFlag
FilesomaliaFlag.jsx
CategoryFlags

Copy-ready code

Somalia React JSX component

// Source: https://raw.githubusercontent.com/lipis/flag-icons/086f7e97d657358203916dbe84f61c2bccaa81eb/flags/4x3/so.svg
// Asset license: flag-icons MIT. Country flags are national symbols; use respectfully and verify local requirements where applicable.
export const SomaliaFlag = ({ 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="so-a">
      <path fillOpacity=".7" d="M-85.3 0h682.6v512H-85.3z"/>
    </clipPath>
  </defs>
  <g fillRule="evenodd" clipPath="url(#so-a)" transform="translate(80)scale(.9375)">
    <path fill="#40a6ff" d="M-128 0h768v512h-768z"/>
    <path fill="#fff" d="M336.5 381.2 254 327.7l-82.1 54 30.5-87.7-82-54.2L222 239l31.4-87.5 32.1 87.3 101.4.1-81.5 54.7z"/>
  </g>
  </svg>
)

How to use the Somalia icon

import { SomaliaFlag } from "@/assets/icons/somaliaFlag"

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