How to use the Sri Lanka icon
import { SriLankaFlag } from "@/assets/icons/srilankaFlag"
export default function Example() {
return <SriLankaFlag width="32px" height="32px" />
}Flags icon
Copy the Sri Lanka 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/086f7e97d657358203916dbe84f61c2bccaa81eb/flags/4x3/lk.svg
// Asset license: flag-icons MIT. Country flags are national symbols; use respectfully and verify local requirements where applicable.
export const SriLankaFlag = ({ 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="#ffb700" d="M0 0h640v480H0z"/>
<path fill="#ff5b00" d="m26.7 240 88-213.3h88v426.6h-88z"/>
<path fill="#005641" d="M26.7 26.7h88v426.6h-88z"/>
<path fill="#8d2029" d="M229.3 26.7H616v426.6H229.3z"/>
<path id="lk-a" fill="#ffb700" stroke="#000" strokeWidth="1.1" d="M579.3 408.6s3.6 7.3 7.6 10.4c6 4.4 18 4 23.3 9.3 6.1 6.1-.5 14.2-.5 15l.4 4.2s-4.2 0-6 .3c-2.6.4-3.6 2.6-8.6 2.3-12.3-.8-11.8-12-12.5-21.5-.6-3.6-2-8.4-2.9-12-.7-3-.8-8-.8-8z"/>
<use href="#lk-a" width="100%" height="100%" transform="matrix(-1 0 0 1 845.3 0)"/>
<use href="#lk-a" width="100%" height="100%" transform="matrix(1 0 0 -1 0 480)"/>
<use href="#lk-a" width="100%" height="100%" transform="rotate(180 422.7 240)"/>
<g transform="translate(0 -76)">
<use href="#lk-b" width="100%" height="100%" stroke="#000" strokeWidth="5.6"/>
<g id="lk-b" fill="#ffb700">
<path d="m363.5 415.8 2.3-1.4 1 1.4c1.3 1.8 5 1.7 7.4 0l1.9-1.5 1.6 1.4c2 1.9 5.8 1.9 8.3 0 1.7-1.2 2-1.3 3-.3.7.6 2.7 1.2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>
</g>
</g>
</svg>
)
import { SriLankaFlag } from "@/assets/icons/srilankaFlag"
export default function Example() {
return <SriLankaFlag 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.