Mastodon
The mastodon icon represents the Mastodon social media platform, a decentralized, community-driven alternative to traditional social media.
Exports at 24 × 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="24" height="24" viewBox="0 0 16 16" {...props}>
<path fill="currentColor" d="M15.498 3.706C15.264 1.986 13.749.632 11.954.37C11.65.325 10.503.164 7.844.164h-.02c-2.66 0-3.23.161-3.533.206C2.546.625.951 1.842.565 3.582C.379 4.438.359 5.388.393 6.259C.443 7.51.453 8.756.567 10q.12 1.242.414 2.454c.368 1.49 1.856 2.731 3.314 3.237a9 9 0 0 0 4.848.253q.265-.06.525-.141c.39-.123.849-.26 1.186-.502l.01-.013l.005-.016v-1.206l-.004-.015a.04.04 0 0 0-.024-.02h-.016c-1.03.244-2.087.366-3.146.364c-1.824 0-2.314-.856-2.455-1.212a3.7 3.7 0 0 1-.213-.955a.035.035 0 0 1 .028-.036h.016a13.3 13.3 0 0 0 3.095.364q.375.002.751-.007c1.049-.03 2.154-.082 3.186-.281l.073-.016c1.627-.31 3.176-1.28 3.333-3.736c.006-.097.02-1.013.02-1.113c.002-.342.112-2.42-.015-3.697m-2.505 6.13h-1.71V5.69c0-.873-.368-1.318-1.116-1.318c-.822 0-1.234.526-1.234 1.566v2.27h-1.7v-2.27c0-1.04-.413-1.566-1.235-1.566c-.744 0-1.115.445-1.116 1.318v4.145h-1.71v-4.27q0-1.31.677-2.08c.464-.513 1.074-.776 1.83-.776q1.316 0 1.979.999l.426.706l.426-.706c.441-.666 1.103-.999 1.977-.999c.756 0 1.366.263 1.832.776q.675.77.676 2.08z"/>
</svg>
);Other libraries
Mastodon in 8 more libraries
Each library draws it its own way. Open one to compare.
Gitlab SVGs
More like it
Icons that share its tags, then the ones next to it in Gitlab SVGs, in the same style.
Search Gitlab SVGs
Skip the copy and paste. With Pro, your AI agent finds and installs any Gitlab SVGs icon from a prompt.
Get ProTags
Browse by tag
Mastodon is tagged network, community, platform and 2 more. Related tags follow; each opens its icons from every library.
Pricing
Gitlab SVGs MCP, with Pro
Ask for Mastodon or any of 414 Gitlab SVGs 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 media platform, a decentralized, community-driven alternative to traditional social media. The icon is part of the Gitlab SVGs library, specifically in the UI Other / Mixed Grid category.
In software applications, this icon appears on Mastodon's official website, client applications like Tusky, and other platforms that integrate Mastodon functionality. It helps users identify the platform and its community-driven features.
From a UX perspective, the mastodon icon communicates the values of decentralization, community, and openness, providing a clear visual identity for the platform. The icon's design should be recognizable and memorable.
Mastodon is one of 414 icons in Gitlab SVGs, made by GitLab B.V. and released under MIT. It is drawn on a 16 × 16 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/pajamas-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 414 Gitlab SVGs icons, and install it from a prompt.
It's drawn in currentColor, so it takes the text color wherever you use it: a class like text-primary recolors it. To bake a color in, set one in Customize before you copy.
Set width and height on the component, or a class like size-6. It's drawn on a 16 × 16 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It follows the text color, so with text-foreground (or any theme token) it changes with your light and dark themes. 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.
Yes. MIT allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: MIT only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming Gitlab SVGs, GitLab B.V. 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 network, community, platform, social-media and microblogging. 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