Megaphone icon
codicon:megaphone
The Megaphone icon (codicon:megaphone) is a free SVG icon from the Codicons set by Microsoft Corporation. It is drawn on a 24 × 24 grid. Codicons 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
- Codicons
- Author
- Microsoft Corporation
- License
- CC-BY-4.0
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M15 3.503a1.5 1.5 0 0 0-1.98-1.421l-11 3.715A1.5 1.5 0 0 0 1 7.217v1.566a1.5 1.5 0 0 0 1.018 1.42L4 10.877V12a3 3 0 0 0 5.872.868l3.146 1.067A1.5 1.5 0 0 0 15 12.515zm-1.66-.474a.5.5 0 0 1 .66.474v9.012a.5.5 0 0 1-.66.473l-11-3.731A.5.5 0 0 1 2 8.783V7.218a.5.5 0 0 1 .34-.474zm-4.416 9.518A2 2 0 0 1 5 12v-.785z"/></svg>How to use the Megaphone icon
React
import { Icon } from "@iconify/react";
<Icon icon="codicon:megaphone" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="codicon:megaphone" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="codicon:megaphone" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--megaphone]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:megaphone"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="codicon:megaphone"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/codicon/megaphone.svg" alt="Megaphone icon" width="24" height="24">Megaphone icon in other icon sets
Megaphone icon FAQ
Is the Megaphone icon free for commercial use?
Yes. Codicons 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 Megaphone icon in React?
Install @iconify/react and render <Icon icon="codicon:megaphone" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Megaphone icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/codicon/megaphone.svg" alt="Megaphone icon">, or paste the SVG code inline to style it with CSS.