Cockroach
The cockroach icon represents a cockroach, symbolizing an insect or pest.
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 36 36" {...props}>
<g fill="#662113"><path d="M4.272 35.837c-.253.083-.486.003-.567-.167c-.153-.318.466-.978.833-1.571c2.055-3.325 2.213-9.287 2.213-9.35A1.127 1.127 0 0 1 8 23.632l10.125 1.125c.618.069 1.062.625.994 1.243s-.616 2.183-1.243 2.12L8.941 26c-.175 2.23-.588 5.993-3.362 8.767c-.219.22-.942.886-1.307 1.07"/><path d="M31.729 35.837c.252.083.486.002.567-.167c.153-.318-.466-.978-.833-1.571c-2.055-3.325-2.213-9.287-2.213-9.35a1.123 1.123 0 0 0-1.249-1.117l-10.125 1.125A1.126 1.126 0 0 0 16.882 26c.068.618.616 2.183 1.243 2.12L27.059 26c.175 2.23.588 5.993 3.362 8.767c.22.22.942.886 1.308 1.07M2.348 23.08c-.621 0-1.272-.127-1.223-.58c.046-.422.629-.52 1.248-.573c3.258-.276 4.476-4.392 4.495-4.431c.227-.454.734-.7 1.227-.6l5.625 1.125c.609.122 1.004.714.882 1.324c-.121.609-.715 2.136-1.324 2.008l-4.831-2.092c-.887 1.431-2.989 3.819-6.099 3.819m31.304 0c.621 0 1.272-.127 1.223-.58c-.046-.422-.629-.52-1.249-.573c-3.258-.276-4.476-4.392-4.495-4.431a1.13 1.13 0 0 0-1.227-.6l-5.625 1.125a1.125 1.125 0 0 0-.882 1.324c.121.609.715 2.136 1.324 2.008l4.831-2.092c.888 1.431 2.99 3.819 6.1 3.819m-19.028-6.205c-.235 0-.471-.074-.674-.225l-4.008-3.67c-.803-.052-3.108-.15-4.511-1.303c-.48-.394-.868-.872-.727-1.178c.161-.348.847-.078 1.403.201c1.968.984 4 .55 4.02.55c.242.001.479.08.672.225l4.5 3.375a1.124 1.124 0 0 1-.675 2.025m6.752 0c.235 0 .471-.074.674-.225l4.008-3.67c.803-.052 3.108-.15 4.511-1.303c.48-.394.868-.872.727-1.178c-.161-.348-.847-.078-1.404.201c-1.968.984-4 .55-4.02.55a1.13 1.13 0 0 0-.672.225l-4.5 3.375a1.124 1.124 0 0 0 .676 2.025"/></g><path fill="#662113" d="M18 32.625L12.375 36L18 27l5.625 9z"/><path fill="#c1694f" d="M11.25 22.5c0-6.75 3.022-10.125 6.75-10.125s6.75 3.375 6.75 10.125c0 7.875-3.022 13.5-6.75 13.5s-6.75-5.625-6.75-13.5"/><path fill="#662113" d="M12 22c0-6.75 2.957-9.625 6-9.625S24 15.25 24 22c0 7.875-2.957 11-6 11s-6-3.125-6-11"/><path fill="#d99e82" d="M13.5 12.375c0-2.25 2.015-4.5 4.5-4.5s4.5 2.25 4.5 4.5c0 2.485-2.015 3.375-4.5 3.375s-4.5-.89-4.5-3.375"/><path fill="#662113" d="M13.5 12.375c0-2.25 2.015-4.5 4.5-4.5s4.5 2.25 4.5 4.5c0 1.125-2.015 2.25-4.5 2.25s-4.5-1.125-4.5-2.25"/><ellipse cx="18" cy="7.875" fill="#662113" rx="1.688" ry="1.125"/><path fill="#662113" d="M16.938 12.812a.5.5 0 0 1-.5-.5c0-4.474-5.55-11.875-11.875-11.875a.5.5 0 0 1 0-1c6.983 0 12.875 7.908 12.875 12.875a.5.5 0 0 1-.5.5m2.062.063a.5.5 0 0 1-.5-.5C18.5 7.408 24.393-.5 31.375-.5a.5.5 0 0 1 0 1C25.05.5 19.5 7.901 19.5 12.375a.5.5 0 0 1-.5.5"/>
</svg>
);Other libraries
Cockroach in 1 more libraries
Each library draws it its own way. Open one to compare.
Twitter Emoji
More like it
Icons that share its tags, then the ones next to it in Twitter Emoji, in the same style.
Search Twitter Emoji
Skip the copy and paste. With Pro, your AI agent finds and installs any Twitter Emoji icon from a prompt.
Get ProTags
Browse by tag
Cockroach is tagged insect, bug and pest. Related tags follow; each opens its icons from every library.
Pricing
Twitter Emoji MCP, with Pro
Ask for Cockroach or any of 4,169 Twitter Emoji 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, symbolizing an insect or pest. It is often used to convey a sense of disgust or unease.
In various software and platforms, this icon appears in apps, websites, or games to convey pest-related content. For instance, it may be used in apps like Pest Control or Bug Zapper to represent cockroaches or other pests.
From a UX perspective, this icon communicates a sense of warning or caution, helping users understand that the content is related to pests or insects. It aids in navigation by providing a clear visual representation of the cockroach.
Cockroach is one of 4,169 icons in Twitter Emoji, made by Twitter and released under CC BY 4.0. It is drawn on a 36 × 36 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/twemoji-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,169 Twitter Emoji 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 36 × 36 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 credit: CC BY 4.0 asks you to credit the author (Twitter) where you use the icons. The full terms are in the license, linked on this page.
Yes. CC BY 4.0 asks you to credit the author where you use the icons, for example "Icons by Twitter, CC BY 4.0" on an about or credits page.
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 insect, bug 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.
Twitter Emoji 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