Troll
The troll icon represents a mythological creature often associated with internet culture and online communities.
Exports at 24 × 24 px
Code
Troll in your framework
In any framework. Customize it above, and the code follows.
export const TrollIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 72 72" fill="none" stroke="currentColor" {...props}>
<path fill="#e27022" d="M50.63 15.6a1.2 1.2 0 0 1-1.73 1.18c-1.08-.56-2.98-1.24-3.92-.35a.3.3 0 0 1-.07.05c-1.52-2.09-4.21-3.79-8.91-3.79a3.794 3.794 0 0 1 3.56-4.24a8.5 8.5 0 0 0 4.73-2.06a5.1 5.1 0 0 1 .65 3.96l.49.01c3.72 0 4.97 3.05 5.2 5.24"/><path fill="#b1cc33" d="M36.002 42.033c-15.277 0-10.555-6.08-10.555-12.763c0-3.58-.376-3.401-.376-5.903s.632-10.681 10.931-10.681s10.932 8.179 10.932 10.68s-.377 2.324-.377 5.904c0 6.684 4.723 12.763-10.555 12.763"/><path fill="#b1cc33" d="M46.934 23.367c2.137-2.837 5.31-2.063 8.8-4.36c-.548 3.523-1.617 12.305-8.996 12.787Zm-21.672 8.427c-7.379-.481-8.448-9.264-8.996-12.787c3.49 2.297 6.663 1.523 8.8 4.36Zm-8.199 26.024s-2-13 10-13c3.191 2.128 5.926 3.598 9 3.592h-.126c3.074.006 5.809-1.464 9-3.592c12 0 10 13 10 13l.008 1H17.036Z"/><path fill="#5c9e31" d="M36 58.816c8.126-10.706 8.383-14.83 8.383-14.83a1 1 0 0 1 .555-.169c3.656 0 6.484 1.136 8.407 3.377c3.553 4.143 2.622 10.506 2.58 10.776a1 1 0 0 1-.985.847Z"/><path fill="#a57939" d="M44.964 57.818a48 48 0 0 1 6.466-6.879c4.406-3.468 6.766-3.56 10.948-8.906c2.063-2.637 2.637-7.281 0-9.344s-6.354-1.244-8.878 1.827c-4.681 5.697-3.825 8.713-6.2 13.194a103 103 0 0 1-6.803 10.106v1h4.466Z"/><path fill="#fff" d="M31.055 31.498a2.607 2.607 0 0 1 2.607 2.607v.65h-2.607zm9.948 3.258h-2.607v-.651a2.607 2.607 0 0 1 2.607-2.607z"/><path fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M54.729 52.447a16.7 16.7 0 0 1 .209 5.37m-37.875.001s-2-13 10-13c3.191 2.128 5.926 3.598 9 3.592h-.126c3.074.006 5.809-1.464 9-3.592m-.65-32.728a5.03 5.03 0 0 0 0-5.7a8.44 8.44 0 0 1-4.725 2.056a3.794 3.794 0 0 0-3.56 4.24m10.932 10.681c2.137-2.837 5.31-2.063 8.8-4.36c-.548 3.523-1.617 12.305-8.996 12.787m-21.476 0c-7.379-.481-8.448-9.264-8.996-12.787c3.49 2.297 6.663 1.523 8.8 4.36"/><path fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M36.002 42.033c-15.277 0-10.555-6.08-10.555-12.763c0-3.58-.376-3.401-.376-5.903s.632-10.681 10.931-10.681s10.932 8.179 10.932 10.68s-.377 2.324-.377 5.904c0 6.684 4.723 12.763-10.555 12.763"/><path d="M42.002 26.5a2 2 0 1 1-2-2a2 2 0 0 1 2 2m-8 0a2 2 0 1 1-2-2a2 2 0 0 1 2 2"/><path fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M38.039 23.027a5.43 5.43 0 0 1 5.049-1.272m-14.118 0a5.43 5.43 0 0 1 5.049 1.271m10.945 34.792a48 48 0 0 1 6.466-6.879c4.406-3.468 6.766-3.56 10.948-8.906c2.063-2.637 2.637-7.281 0-9.344s-6.354-1.244-8.878 1.827c-4.681 5.697-3.825 8.713-6.2 13.194a103 103 0 0 1-6.803 10.106m9.876-21.743l3.143 1.901m2.956 7.238l1.927 3.128m.962-18.907l-.309 3.66m-27.997-.597v2.776m11.194 0H29.808m11.195-2.776v2.776m6.244-20.164A9.3 9.3 0 0 1 50 16.26s0-5.21-4.494-5.21"/>
</svg>
);Other libraries
Troll in 2 more libraries
Each library draws it its own way. Open one to compare.
OpenMoji
More like it
Icons that share its tags, in the same style.
Search OpenMoji
Skip the copy and paste. With Pro, your AI agent finds and installs any OpenMoji icon from a prompt.
Get ProTags
Browse by tag
Troll is tagged internet, fantasy, mythology and 3 more. Related tags follow; each opens its icons from every library.
Pricing
OpenMoji MCP, with Pro
Ask for Troll or any of 4,481 OpenMoji 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 Troll icon means and where it's used, then how to install, style, label and license it.
The troll icon represents a mythological creature often associated with internet culture and online communities.
The troll icon can be seen in various software and platforms related to online forums, social media, and comment sections.
From a UX perspective, the troll icon effectively communicates a sense of mischief or troublemaking, helping users understand online behaviors.
Troll is one of 4,481 icons in OpenMoji, made by OpenMoji and released under CC BY-SA 4.0. It is drawn on a 72 × 72 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 TrollIcon to components/icons/openmoji-troll.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 TrollIcon 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 Troll icon, or any of 4,481 OpenMoji 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 72 × 72 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="Troll", so screen readers say what it does.
Yes. TrollIcon passes every SVG prop to the svg element, so <TrollIcon 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, with conditions: CC BY-SA 4.0 asks you to credit the author (OpenMoji), and icons you change must use the same license. The full terms are in the license, linked on this page.
Yes. CC BY-SA 4.0 asks you to credit OpenMoji, and icons you change must be shared under the same license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
2 other libraries draw an icon called Troll. 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 internet, fantasy, mythology, creature, fiction and legendary. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Troll in another set.
OpenMoji draws many icons in several styles: Light next to the default. Open the library and pick a style above the grid to see Troll's siblings in it.
4.9 out of 5 from 150+ developers
Install Troll from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro