Mastodon icon
griddy-icons:mastodon
The Mastodon icon (griddy-icons:mastodon) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy 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
- Griddy Icons
- Author
- Zuzana Benova
- License
- MIT
- 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="M12 2c3.276 0 5.545.5 7 1.587c1.515 1.133 2 2.785 2 4.663v3.5c0 1.148-.202 2.124-.642 2.933c-.444.817-1.103 1.41-1.922 1.829c-1.586.81-3.82.988-6.436.988c-1.444 0-2.57-.197-3.346-.4a9 9 0 0 1-.895-.283a5 5 0 0 1-.31-.13l-.022-.01l-.007-.004l-.003-.001l-.001-.001h-.001l.67-1.342l.002.001l.036.017q.053.024.173.07c.16.061.406.146.737.232c.662.173 1.66.351 2.967.351c2.634 0 4.525-.197 5.752-.824c.587-.3 1.006-.692 1.288-1.21c.287-.528.46-1.239.46-2.216v-3.5c0-1.621-.406-2.72-1.398-3.462C17.05 4.001 15.195 3.5 12 3.5s-5.05.501-6.103 1.288C4.906 5.53 4.5 6.628 4.5 8.25v3.5c0 3.219.427 5.689 2.484 7.428l.269.21c1.374.993 3.233 1.163 4.902 1.021a14.7 14.7 0 0 0 3.047-.6l.042-.014l.009-.003v-.001l.493 1.418h-.002l-.005.002l-.016.006a5 5 0 0 1-.26.082a16 16 0 0 1-3.18.605c-1.847.156-4.255 0-6.092-1.438l-.175-.144C3.413 18.122 3 15.032 3 11.75v-3.5c0-1.878.484-3.53 2-4.663C6.455 2.499 8.724 2 12 2m2.375 3.75c1.724 0 3.125 1.4 3.125 3.125v4.875H16V8.875c0-.896-.73-1.625-1.625-1.625c-.896 0-1.625.73-1.625 1.625V12h-1.5V8.875c0-.896-.73-1.625-1.625-1.625C8.729 7.25 8 7.98 8 8.875v4.875H6.5V8.875c0-1.724 1.4-3.125 3.125-3.125c.95 0 1.802.427 2.375 1.098a3.12 3.12 0 0 1 2.375-1.098"/></svg>How to use the Mastodon icon
React
import { Icon } from "@iconify/react";
<Icon icon="griddy-icons:mastodon" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="griddy-icons:mastodon" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="griddy-icons:mastodon" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[griddy-icons--mastodon]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/griddy-icons -->
<div class="i-griddy-icons:mastodon"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="griddy-icons:mastodon"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/griddy-icons/mastodon.svg" alt="Mastodon icon" width="24" height="24">Related icons in Griddy Icons
Mastodon icon in other icon sets
Mastodon icon FAQ
Is the Mastodon icon free for commercial use?
Yes. Griddy 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="griddy-icons: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/griddy-icons/mastodon.svg" alt="Mastodon icon">, or paste the SVG code inline to style it with CSS.