How to use the New Zealand icon
import { NewZealandFlag } from "@/assets/icons/newzealandFlag"
export default function Example() {
return <NewZealandFlag width="32px" height="32px" />
}Flags icon
Copy the New Zealand icon as an optimized JSX SVG component for React, Next.js, dashboards, landing pages and Tailwind interfaces.
Copy-ready code
// Source: https://raw.githubusercontent.com/lipis/flag-icons/main/flags/4x3/nz.svg
// Asset license: flag-icons MIT. Country flags are national symbols; use respectfully and verify local requirements where applicable.
export const NewZealandFlag = ({ 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>
<g id="nz-b">
<g id="nz-a">
<path d="M0-.3v.5l1-.5z"/>
<path d="M.2.3 0-.1l1-.2z"/>
</g>
<use href="#nz-a" transform="scale(-1 1)"/>
<use href="#nz-a" transform="rotate(72 0 0)"/>
<use href="#nz-a" transform="rotate(-72 0 0)"/>
<use href="#nz-a" transform="scale(-1 1)rotate(72)"/>
</g>
</defs>
<path fill="#00247d" fillRule="evenodd" d="M0 0h640v480H0z"/>
<g transform="translate(-111 36.1)scale(.66825)">
<use href="#nz-b" width="100%" height="100%" fill="#fff" transform="translate(900 120)scale(45.4)"/>
<use href="#nz-b" width="100%" height="100%" fill="#cc142b" transform="matrix(30 0 0 30 900 120)"/>
</g>
<g transform="rotate(82 525.2 114.6)scale(.66825)">
<use href="#nz-b" width="100%" height="100%" fill="#fff" transform="rotate(-82 519 -457.7)scale(40.4)"/>
<use href="#nz-b" width="100%" height="100%" fill="#cc142b" transform="rotate(-82 519 -457.7)scale(25)"/>
</g>
<g transform="rotate(82 525.2 114.6)scale(.66825)">
<use href="#nz-b" width="100%" height="100%" fill="#fff" transform="rotate(-82 668.6 -327.7)scale(45.4)"/>
<use href="#nz-b" width="100%" height="100%" fill="#cc142b" transform="rotate(-82 668.6 -327.7)scale(30)"/>
</g>
<g transform="translate(-111 36.1)scale(.66825)">
<use href="#nz-b" width="100%" height="100%" fill="#fff" transform="translate(900 480)scale(50.4)"/>
<use href="#nz-b" width="100%" height="100%" fill="#cc142b" transform="matrix(35 0 0 35 900 480)"/>
</g>
<path fill="#012169" d="M0 0h320v240H0z"/>
<path fill="#fff" d="m37.5 0 122 90.5L281 0h39v31l-120 89.5 120 89V240h-40l-120-89.5L40.5 240H0v-30l119.5-89L0 32V0z"/>
<path fill="#c8102e" d="M212 140.5 320 220v20l-135.5-99.5zm-92 10 3 17.5-96 72H0zM320 0v1.5l-124.5 94 1-22L295 0zM0 0l119.5 88h-30L0 21z"/>
<path fill="#fff" d="M120.5 0v240h80V0zM0 80v80h320V80z"/>
<path fill="#c8102e" d="M0 96.5v48h320v-48zM136.5 0v240h48V0z"/>
</svg>
)
import { NewZealandFlag } from "@/assets/icons/newzealandFlag"
export default function Example() {
return <NewZealandFlag width="32px" height="32px" />
}Built for the web
This copy-ready component works in React and Next.js projects, and the SVG can be adapted for any interface.
Looking for a similar mark? Browse the related icons below or explore the full flags collection.
Yes. You can copy the JSX component and use it in React and Next.js projects.
Yes. Edit the SVG attributes or pass className, width, height and color props depending on the component.