JSXIcons.com

Flags icon

Cuba JSX Icon

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

Browse all icons
ComponentCubaFlag
FilecubaFlag.jsx
CategoryFlags

Copy-ready code

Cuba React JSX component

// Source: https://raw.githubusercontent.com/lipis/flag-icons/086f7e97d657358203916dbe84f61c2bccaa81eb/flags/4x3/cu.svg
// Asset license: flag-icons MIT. Country flags are national symbols; use respectfully and verify local requirements where applicable.
export const CubaFlag = ({ 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="cu-a">
      <path fillOpacity=".7" d="M-32 0h682.7v512H-32z"/>
    </clipPath>
  </defs>
  <g fillRule="evenodd" clipPath="url(#cu-a)" transform="translate(30)scale(.94)">
    <path fill="#002a8f" d="M-32 0h768v512H-32z"/>
    <path fill="#fff" d="M-32 102.4h768v102.4H-32zm0 204.8h768v102.4H-32z"/>
    <path fill="#cb1515" d="m-32 0 440.7 255.7L-32 511z"/>
    <path fill="#fff" d="M161.8 325.5 114.3 290l-47.2 35.8 17.6-58.1-47.2-36 58.3-.4 18.1-58 18.5 57.8 58.3.1-46.9 36.3z"/>
  </g>
  </svg>
)

How to use the Cuba icon

import { CubaFlag } from "@/assets/icons/cubaFlag"

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