ICONYZ
English
Flag Sri Lanka icon from OpenMoji

Flag Sri Lanka icon

openmoji:flag-sri-lanka

The Flag Sri Lanka icon (openmoji:flag-sri-lanka) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
OpenMoji
Author
OpenMoji
License
CC-BY-SA-4.0
Size
72 × 72
Category
Flags
Tags
flagsri, srilanka, flagsrilanka
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="#d22f27" d="M5 17h62v38H5z"/><path fill="#5c9e31" d="M5 17h11v38H5z"/><path fill="#e27022" d="M16 17h10v38H16z"/><path fill="none" stroke="#f1b31c" stroke-miterlimit="10" stroke-width="2" d="M26 18v36M7 19h58v34H7z"/><path fill="none" stroke="#f1b31c" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M50 45h2l1-2l-3-6m-9 8h2l1-2l-3-6m-4-11a7.07 7.07 0 0 0-1 4v12"/><path fill="#f1b31c" stroke="#f1b31c" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M44 41c3 0 3-2 7-2l5 2c-1-2 2-3 1-6H42s-3 2-3 5h3Z"/><path fill="none" stroke="#f1b31c" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M54 45h2l1-2l-3-6m-19 0l4 3m17-9a2 2 0 0 1 0 4m-4-4a2 2 0 0 1 0-4"/><rect width="4" height="5" x="42" y="30" fill="#f1b31c" rx="1" ry="1"/><rect width="4" height="5" x="42" y="30" fill="none" stroke="#f1b31c" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" rx="1" ry="1"/><path fill="none" stroke="#f1b31c" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M52 31h4m4-7l1-1m-30 1l-1-1m13 9l-3-1m3 2l-3 1m20 14l1 1m-30-1l-1 1"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 17h62v38H5z"/></svg>

How to use the Flag Sri Lanka icon

React

import { Icon } from "@iconify/react";

<Icon icon="openmoji:flag-sri-lanka" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="openmoji:flag-sri-lanka" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="openmoji:flag-sri-lanka" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[openmoji--flag-sri-lanka]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/openmoji -->
<div class="i-openmoji:flag-sri-lanka"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="openmoji:flag-sri-lanka"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/openmoji/flag-sri-lanka.svg" alt="Flag Sri Lanka icon" width="24" height="24">

Related icons in OpenMoji

Flag Sri Lanka icon in other icon sets

Flag Sri Lanka icon FAQ

Is the Flag Sri Lanka icon free for commercial use?

Yes. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Flag Sri Lanka icon in React?

Install @iconify/react and render <Icon icon="openmoji:flag-sri-lanka" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Flag Sri Lanka icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/openmoji/flag-sri-lanka.svg" alt="Flag Sri Lanka icon">, or paste the SVG code inline to style it with CSS.

Browse all OpenMoji icons →