Mastodon icon
hugeicons:mastodon
The Mastodon icon (hugeicons:mastodon) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Huge Icons
- Author
- Hugeicons
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M17 13.5V8a2.5 2.5 0 0 0-5 0m0 0v3.5M12 8a2.5 2.5 0 0 0-5 0v5.5"/><path d="M13 16.995c2.01 0 3.89-.307 5.495-.843c1.633-.544 2.505-2.2 2.505-3.922V7.523c0-2.175-1.17-4.245-3.272-4.808C16.026 2.259 14.074 2 12 2s-4.026.259-5.728.715C4.17 3.278 3 5.348 3 7.523v6.973c0 7.998 8 7.498 8 7.498c2.5 0 4-.994 4-.994v-1s-1.5.494-4 .494c-5.32 0-3.94-4.498-3.94-4.498c1.698.631 3.741 1 5.94 1"/></g></svg>How to use the Mastodon icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:mastodon" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:mastodon" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:mastodon" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--mastodon]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:mastodon"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:mastodon"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/mastodon.svg" alt="Mastodon icon" width="24" height="24">Mastodon icon in other icon sets
Mastodon icon FAQ
Is the Mastodon icon free for commercial use?
Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Mastodon icon in React?
Install @iconify/react and render <Icon icon="hugeicons:mastodon" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Mastodon icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/mastodon.svg" alt="Mastodon icon">, or paste the SVG code inline to style it with CSS.