JSXIcons.com

Flags icon

Kenya JSX Icon

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

Browse all icons
ComponentKenyaFlag
FilekenyaFlag.jsx
CategoryFlags

Copy-ready code

Kenya React JSX component

// Source: https://raw.githubusercontent.com/lipis/flag-icons/main/flags/4x3/ke.svg
// Asset license: flag-icons MIT. Country flags are national symbols; use respectfully and verify local requirements where applicable.
export const KenyaFlag = ({ 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>
    <path id="ke-a" stroke-miterlimit="10" d="m-28.6 47.5 1.8 1 46.7-81c2.7-.6 4.2-3.2 5.7-5.8 1-1.8 5-8.7 6.7-17.7a58 58 0 0 0-11.9 14.7c-1.5 2.6-3 5.2-2.3 7.9z"/>
  </defs>
  <path fill="#fff" d="M0 0h640v480H0z"/>
  <path fill="#000001" d="M0 0h640v144H0z"/>
  <path fill="#060" d="M0 336h640v144H0z"/>
  <g id="ke-b" transform="matrix(3 0 0 3 320 240)">
    <use href="#ke-a" width="100%" height="100%" stroke="#000"/>
    <use href="#ke-a" width="100%" height="100%" fill="#fff"/>
  </g>
  <use href="#ke-b" width="100%" height="100%" transform="matrix(-1 0 0 1 640 0)"/>
  <path fill="#b00" d="M640.5 168H377c-9-24-39-72-57-72s-48 48-57 72H-.2v144H263c9 24 39 72 57 72s48-48 57-72h263.5z"/>
  <path id="ke-c" d="M377 312c9-24 15-48 15-72s-6-48-15-72c-9 24-15 48-15 72s6 48 15 72"/>
  <use href="#ke-c" width="100%" height="100%" transform="matrix(-1 0 0 1 640 0)"/>
  <g fill="#fff" transform="matrix(3 0 0 3 320 240)">
    <ellipse rx="4" ry="6"/>
    <path id="ke-d" d="M1 5.8s4 8 4 21-4 21-4 21z"/>
    <use href="#ke-d" width="100%" height="100%" transform="scale(-1)"/>
    <use href="#ke-d" width="100%" height="100%" transform="scale(-1 1)"/>
    <use href="#ke-d" width="100%" height="100%" transform="scale(1 -1)"/>
  </g>
  </svg>
)

How to use the Kenya icon

import { KenyaFlag } from "@/assets/icons/kenyaFlag"

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