Cockroach
The cockroach icon represents a cockroach or insect, symbolizing pests or creepy crawlies.
Exports at 24 × 24 px
Code
Cockroach in your framework
In any framework. Customize it above, and the code follows.
export const CockroachIcon = (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="#6a462f" d="M36.005 29.976a5.03 5.03 0 1 1 5.154-5.029a5.097 5.097 0 0 1-5.154 5.029"/><path fill="#781e32" d="M36.006 61.26c-4.306 0-7.68-7.758-7.68-17.66c0-6.71 1.56-12.728 4.069-15.703a.86.86 0 0 1 .98-.244a7.9 7.9 0 0 0 5.263 0a.86.86 0 0 1 .98.244c2.51 2.975 4.069 8.992 4.069 15.702c0 9.903-3.374 17.661-7.68 17.661"/><path fill="#a57939" d="M41.465 31.267a12.6 12.6 0 0 0-1.847-3.106c-.008-.01-.02-.013-.028-.023a1 1 0 0 0-.138-.109a.69.69 0 0 0-.592-.152a1 1 0 0 0-.189.034c-.01.004-.022.002-.033.006a7.9 7.9 0 0 1-5.263 0a.86.86 0 0 0-.98.244a13.7 13.7 0 0 0-1.725 2.834a62 62 0 0 1 6.305 11.772a53.3 53.3 0 0 1 5.102-9.883Z"/><g fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2"><path d="M26.198 8.966s7.37 5.93 7.37 12.174m-1.571 8.836c-.971-.271-1.374-1.461-2.272-1.917a6.2 6.2 0 0 0-2.383-.244a21 21 0 0 1-2.824-.716a12.5 12.5 0 0 0-4.06.003m9.752 7.503c-1.64.232-2.821-1.814-4.477-1.868c-1.582-.052-2.554 1.644-3.889 2.482c-2.156 1.354-5.205.38-7.393 1.683m14.751 4.517a9.8 9.8 0 0 0-3.517-.11c-1.153.245-2.357.624-2.655 1.748a6.8 6.8 0 0 0 .249 2.735a37.7 37.7 0 0 1 .151 15.453m16.573-31.269c.971-.271 1.374-1.461 2.272-1.917a6.2 6.2 0 0 1 2.383-.244a21 21 0 0 0 2.824-.716a12.5 12.5 0 0 1 4.06.003m-9.752 7.503c1.64.232 2.821-1.814 4.477-1.868c1.582-.052 2.554 1.644 3.889 2.482c2.156 1.354 5.205.38 7.393 1.683m-14.751 4.517a9.8 9.8 0 0 1 3.517-.11c1.153.245 2.357.624 2.655 1.748a6.8 6.8 0 0 1-.249 2.735a37.7 37.7 0 0 0-.15 15.453M45.773 8.966s-7.37 5.93-7.37 12.174"/><path d="M31.947 25.794a4 4 0 0 1-.098-.868a4.16 4.16 0 0 1 8.315 0a4 4 0 0 1-.085.808m-1.12 2.719c2.287 2.711 3.865 8.475 3.865 15.146c0 9.278-3.052 16.799-6.818 16.799s-6.818-7.521-6.818-16.799c0-6.672 1.579-12.435 3.866-15.146a8.7 8.7 0 0 0 5.905 0"/><path d="M30.884 32.517a64 64 0 0 1 7.904 18.201m2.328-18.201a55 55 0 0 0-3.55 6.38"/></g>
</svg>
);Other libraries
Cockroach in 1 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
Cockroach is tagged emoji, openmoji, insect and 1 more. Related tags follow; each opens its icons from every library.
Pricing
OpenMoji MCP, with Pro
Ask for Cockroach 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 Cockroach icon means and where it's used, then how to install, style, label and license it.
The cockroach icon represents a cockroach or insect, symbolizing pests or creepy crawlies. This icon is part of the OpenMoji library, a popular open-source emoji set. The cockroach icon is often used to discuss insects or pests.
In real-world applications, this icon appears in educational websites, pest control services, or social media platforms, such as Twitter or Instagram, to discuss insects or pests. It can also be used in advertising or marketing materials to promote pest control services.
From a UX perspective, the cockroach icon communicates that the content may be related to pests or creepy crawlies, helping users understand the context. This icon can be used to add a touch of edginess or realism to digital interfaces.
Cockroach 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 CockroachIcon to components/icons/openmoji-cockroach.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 CockroachIcon 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 Cockroach 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="Cockroach", so screen readers say what it does.
Yes. CockroachIcon passes every SVG prop to the svg element, so <CockroachIcon 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.
1 other library draws an icon called Cockroach. 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 emoji, openmoji, insect and pest. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Cockroach 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 Cockroach's siblings in it.
4.9 out of 5 from 150+ developers
Install Cockroach from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro