ICONYZ
English
Flag Morocco icon from Twitter Emoji

Flag Morocco icon

twemoji:flag-morocco

The Flag Morocco icon (twemoji:flag-morocco) is a free SVG icon from the Twitter Emoji set by Twitter. It is drawn on a 36 × 36 grid. Twitter Emoji icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Twitter Emoji
Author
Twitter
License
CC-BY-4.0
Size
36 × 36
Category
Flags
Tags
flagmorocco
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path fill="#c1272d" d="M32 5H4a4 4 0 0 0-4 4v18a4 4 0 0 0 4 4h28a4 4 0 0 0 4-4V9a4 4 0 0 0-4-4"/><path fill="#006233" d="m15.047 22.165l1.128-3.471l-2.953-2.145h3.649L18 13.074l1.129 3.474h3.649l-2.953 2.145l1.128 3.471L18 20.019zm3.583-2.603l.916.665l-.35-1.077zm-1.826-.412l-.35 1.077l.916-.665zm.241-.74l.955.694l.955-.694l-.365-1.122h-1.182zM15.5 17.288l.915.665l.216-.665zm3.869 0l.216.665l.915-.665zm-1.019-.74L18 15.47l-.35 1.079h.7z"/></svg>

How to use the Flag Morocco icon

React

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

<Icon icon="twemoji:flag-morocco" width="24" />

Vue

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

<template>
  <Icon icon="twemoji:flag-morocco" width="24" />
</template>

Svelte

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

<Icon icon="twemoji:flag-morocco" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[twemoji--flag-morocco]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/twemoji -->
<div class="i-twemoji:flag-morocco"></div>

Web component

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

<iconify-icon icon="twemoji:flag-morocco"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/twemoji/flag-morocco.svg" alt="Flag Morocco icon" width="24" height="24">

Related icons in Twitter Emoji

Flag Morocco icon in other icon sets

Flag Morocco icon FAQ

Is the Flag Morocco icon free for commercial use?

Yes. Twitter Emoji icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Flag Morocco icon in React?

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

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

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

Browse all Twitter Emoji icons →