Mastodon
The Mastodon icon represents the Mastodon social network, a decentralized, open-source platform for microblogging and online communities.
Exports at 97 × 24 px
Code
Mastodon in your framework
In any framework. Customize it above, and the code follows.
export const MastodonIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="97" height="24" viewBox="0 0 512 127" {...props}>
<path fill="#3088D4" d="M115.235 75.671c-1.731 8.905-15.501 18.649-31.317 20.537c-8.248.985-16.367 1.889-25.026 1.492c-14.16-.648-25.334-3.38-25.334-3.38c0 1.379.085 2.691.255 3.919c1.841 13.974 13.858 14.812 25.24 15.202c11.488.393 21.717-2.833 21.717-2.833l.473 10.387s-8.036 4.315-22.35 5.108c-7.895.434-17.695-.199-29.112-3.22C5.023 116.33.765 89.94.114 63.16c-.2-7.95-.076-15.448-.076-21.717c0-27.384 17.94-35.41 17.94-35.41C27.024 1.88 42.547.132 58.684 0h.397c16.137.132 31.67 1.879 40.716 6.033c0 0 17.94 8.026 17.94 35.41c0 0 .225 20.202-2.502 34.228"/><path fill="#FFF" d="M24.875 34.806a7.217 7.217 0 1 1 14.434 0a7.217 7.217 0 0 1-14.434 0m103.502 8.76v33.156H115.24V44.54c0-6.784-2.854-10.226-8.564-10.226c-6.311 0-9.476 4.084-9.476 12.16V64.09H84.143V46.475c0-8.077-3.164-12.161-9.476-12.161c-5.71 0-8.564 3.442-8.564 10.226v32.182H52.967V43.566c0-6.776 1.726-12.161 5.191-16.145c3.575-3.984 8.255-6.026 14.064-6.026c6.723 0 11.813 2.583 15.178 7.751l3.273 5.485l3.272-5.485c3.365-5.168 8.454-7.75 15.178-7.75c5.809 0 10.489 2.041 14.063 6.025c3.466 3.984 5.19 9.369 5.19 16.145m45.252 16.482c2.71-2.864 4.016-6.47 4.016-10.82s-1.305-7.956-4.016-10.714c-2.61-2.864-5.924-4.242-9.94-4.242s-7.33 1.378-9.939 4.242c-2.61 2.758-3.916 6.365-3.916 10.714q0 6.525 3.916 10.82q3.915 4.137 9.94 4.137t9.94-4.137m4.015-37.34h12.952v53.04h-12.952v-6.26c-3.915 5.199-9.338 7.745-16.365 7.745c-6.727 0-12.45-2.652-17.27-8.063c-4.718-5.41-7.128-12.093-7.128-19.942c0-7.743 2.41-14.427 7.128-19.837c4.82-5.41 10.543-8.168 17.27-8.168c7.027 0 12.45 2.546 16.365 7.744zm56.53 25.566c3.815 2.863 5.723 6.894 5.622 11.986c0 5.41-1.908 9.653-5.823 12.624c-3.916 2.864-8.634 4.35-14.358 4.35c-10.341 0-17.37-4.244-21.085-12.625l11.246-6.682c1.506 4.56 4.819 6.895 9.84 6.895c4.617 0 6.927-1.486 6.927-4.562c0-2.228-3.012-4.243-9.136-5.834a84 84 0 0 1-5.723-1.804c-2.109-.848-3.916-1.803-5.422-2.97c-3.715-2.863-5.622-6.683-5.622-11.562c0-5.198 1.806-9.335 5.421-12.306c3.715-3.076 8.233-4.56 13.655-4.56c8.634 0 14.96 3.712 19.075 11.243l-11.043 6.365c-1.607-3.606-4.317-5.41-8.032-5.41c-3.916 0-5.824 1.486-5.824 4.35c0 2.227 3.012 4.242 9.137 5.834c4.72 1.06 8.434 2.652 11.145 4.668m41.167-12.412h-11.346v22.065c0 2.652 1.005 4.243 2.912 4.985c1.406.53 4.217.637 8.434.424v12.412c-8.734 1.06-15.06.212-18.775-2.653c-3.714-2.757-5.522-7.849-5.522-15.168V35.862h-8.735V22.708h8.735V11.994l12.951-4.137v14.851h11.346zm41.268 23.868q3.915-4.139 3.915-10.502q0-6.365-3.915-10.502c-2.61-2.758-5.823-4.136-9.74-4.136c-3.915 0-7.128 1.378-9.738 4.136c-2.51 2.864-3.816 6.365-3.816 10.502s1.305 7.638 3.816 10.502c2.61 2.758 5.823 4.137 9.738 4.137c3.917 0 7.13-1.38 9.74-4.137m-28.615 9.44c-5.12-5.41-7.63-11.986-7.63-19.942c0-7.85 2.51-14.427 7.63-19.837s11.446-8.167 18.875-8.167s13.756 2.758 18.877 8.167c5.12 5.41 7.73 12.093 7.73 19.837c0 7.85-2.61 14.533-7.73 19.943s-11.346 8.062-18.877 8.062s-13.755-2.651-18.875-8.062m88.758-9.123q3.916-4.296 3.916-10.82c0-4.35-1.305-7.956-3.916-10.714c-2.61-2.864-5.924-4.242-9.94-4.242s-7.33 1.378-10.04 4.242c-2.61 2.758-3.916 6.365-3.916 10.714q.001 6.525 3.916 10.82c2.71 2.758 6.125 4.137 10.04 4.137q6.024 0 9.94-4.137m3.916-58.556h12.952v74.256h-12.952v-6.26c-3.815 5.199-9.238 7.745-16.265 7.745c-6.727 0-12.55-2.652-17.37-8.063c-4.718-5.41-7.128-12.093-7.128-19.942c0-7.743 2.41-14.427 7.129-19.837c4.82-5.41 10.642-8.168 17.369-8.168c7.027 0 12.45 2.546 16.265 7.744zm58.437 58.238q3.915-4.139 3.915-10.502q0-6.365-3.915-10.502c-2.61-2.758-5.823-4.136-9.74-4.136c-3.915 0-7.128 1.378-9.738 4.136c-2.511 2.864-3.816 6.365-3.816 10.502s1.305 7.638 3.816 10.502c2.61 2.758 5.823 4.137 9.739 4.137s7.128-1.38 9.74-4.137m-28.616 9.44c-5.12-5.41-7.63-11.986-7.63-19.942c0-7.85 2.51-14.427 7.63-19.837c5.121-5.41 11.446-8.167 18.876-8.167s13.755 2.758 18.876 8.167c5.12 5.41 7.73 12.093 7.73 19.837c0 7.85-2.61 14.533-7.73 19.943s-11.346 8.062-18.876 8.062s-13.755-2.651-18.876-8.062M512 43.18v32.567h-12.953v-30.87c0-3.5-.903-6.152-2.71-8.167c-1.707-1.803-4.117-2.759-7.23-2.759c-7.33 0-11.043 4.35-11.043 13.155v28.64H465.11V22.709h12.953v5.94c3.112-4.985 8.031-7.425 14.96-7.425c5.522 0 10.04 1.91 13.554 5.835C510.192 30.983 512 36.287 512 43.18"/>
</svg>
);Other libraries
Mastodon in 8 more libraries
Each library draws it its own way. Open one to compare.
SVG Logos
More like it
Icons that share its tags, in the same style.
Search SVG Logos
Skip the copy and paste. With Pro, your AI agent finds and installs any SVG Logos icon from a prompt.
Get ProTags
Browse by tag
Mastodon is tagged media, social, network and 3 more. Related tags follow; each opens its icons from every library.
Pricing
SVG Logos MCP, with Pro
Ask for Mastodon or any of 2,063 SVG Logos icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Mastodon icon means and where it's used, then how to install, style, label and license it.
The Mastodon icon represents the Mastodon social network, a decentralized, open-source platform for microblogging and online communities. Mastodon provides an alternative to traditional social media platforms, focusing on user autonomy and data ownership.
The Mastodon icon appears in various real-world applications, such as the Mastodon website, mobile apps, and online communities. The platform's focus on decentralization and user control makes its icon a symbol of freedom and community-driven networking.
From a UX perspective, the Mastodon icon communicates a sense of community, decentralization, and user empowerment. The icon's design helps users understand the platform's values and mission.
Mastodon is one of 2,063 icons in SVG Logos, made by Gil Barbara and released under CC0. It is drawn on a 512 × 127 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds MastodonIcon to components/icons/logos-mastodon.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed MastodonIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Mastodon icon, or any of 2,063 SVG Logos icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 512 × 127 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Mastodon", so screen readers say what it does.
Yes. MastodonIcon passes every SVG prop to the svg element, so <MastodonIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
CC0 puts the icons in the public domain: use them anywhere, with no conditions. The full terms are in the license, linked on this page.
No. CC0 gives the icons to the public domain, so no credit and no notice is required. Icons installed with the shadcn CLI still start with a comment naming SVG Logos, Gil Barbara and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
8 other libraries draw an icon called Mastodon. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are media, social, network, online, community and platform. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Mastodon in another set.
4.9 out of 5 from 150+ developers
Install Mastodon from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro