JSXIcons.com

Flags icon

Central African Republic JSX Icon

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

Browse all icons
ComponentCentralAfricanRepublicFlag
FilecentralafricanrepublicFlag.jsx
CategoryFlags

Copy-ready code

Central African Republic React JSX component

// Source: https://raw.githubusercontent.com/lipis/flag-icons/086f7e97d657358203916dbe84f61c2bccaa81eb/flags/4x3/cf.svg
// Asset license: flag-icons MIT. Country flags are national symbols; use respectfully and verify local requirements where applicable.
export const CentralAfricanRepublicFlag = ({ 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="cf-a">
      <path fillOpacity=".7" d="M-12.4 32h640v480h-640z"/>
    </clipPath>
  </defs>
  <g fillRule="evenodd" clipPath="url(#cf-a)" transform="translate(12.4 -32)">
    <path fill="#00f" d="M-52 32h719.3v119H-52z"/>
    <path fill="#ff0" d="M-52 391.6h719.3V512H-52z"/>
    <path fill="#009a00" d="M-52 271.3h719.3v120.3H-52z"/>
    <path fill="#fff" d="M-52 151h719.3v120.3H-52z"/>
    <path fill="red" d="M247.7 32.5h119.9V512H247.7z"/>
    <path fill="#ff0" d="m99.3 137.7-31.5-21.8-31.3 22L47.4 101 16.9 78l38.2-1 12.5-36.3L80.3 77l38.1.7L88.2 101"/>
  </g>
  </svg>
)

How to use the Central African Republic icon

import { CentralAfricanRepublicFlag } from "@/assets/icons/centralafricanrepublicFlag"

export default function Example() {
  return <CentralAfricanRepublicFlag 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 Central African Republic 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.