JSXIcons.com

Flags icon

India JSX Icon

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

Browse all icons
ComponentIndiaFlag
FileindiaFlag.jsx
CategoryFlags

Copy-ready code

India React JSX component

// Source: https://raw.githubusercontent.com/lipis/flag-icons/main/flags/4x3/in.svg
// Asset license: flag-icons MIT. Country flags are national symbols; use respectfully and verify local requirements where applicable.
export const IndiaFlag = ({ 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">
    <path fill="#f93" d="M0 0h640v160H0z"/>
  <path fill="#fff" d="M0 160h640v160H0z"/>
  <path fill="#128807" d="M0 320h640v160H0z"/>
  <g transform="matrix(3.2 0 0 3.2 320 240)">
    <circle r="20" fill="#008"/>
    <circle r="17.5" fill="#fff"/>
    <circle r="3.5" fill="#008"/>
    <g id="in-d">
      <g id="in-c">
        <g id="in-b">
          <g id="in-a" fill="#008">
            <circle r=".9" transform="rotate(7.5 -8.8 133.5)"/>
            <path d="M0 17.5.6 7 0 2l-.6 5z"/>
          </g>
          <use href="#in-a" width="100%" height="100%" transform="rotate(15)"/>
        </g>
        <use href="#in-b" width="100%" height="100%" transform="rotate(30)"/>
      </g>
      <use href="#in-c" width="100%" height="100%" transform="rotate(60)"/>
    </g>
    <use href="#in-d" width="100%" height="100%" transform="rotate(120)"/>
    <use href="#in-d" width="100%" height="100%" transform="rotate(-120)"/>
  </g>
  </svg>
)

How to use the India icon

import { IndiaFlag } from "@/assets/icons/indiaFlag"

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