Bug
The bug icon represents a common insect, but in the context of software development, it also symbolizes an error or issue in code.
Exports at 24 × 24 px
Code
Bug in your framework
In any framework. Customize it above, and the code follows.
export const BugIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 32 32" {...props}>
<g fill="none"><path fill="#008463" d="M2.627 3.694a.66.66 0 0 1 .889-.277l1.599.84c1.279.664 2.083 2 2.083 3.443v1.31a.658.658 0 0 1-1.316 0V7.7a2.57 2.57 0 0 0-1.375-2.276l-.003-.001l-1.6-.84a.66.66 0 0 1-.277-.89m10.176.001a.66.66 0 0 1-.277.889l-1.603.841A2.57 2.57 0 0 0 9.548 7.7v1.31a.658.658 0 1 1-1.316 0V7.7c0-1.443.804-2.779 2.083-3.444l1.6-.839a.66.66 0 0 1 .888.277M12.23 20.9a1.33 1.33 0 1 0 0-2.66a1.33 1.33 0 0 0 0 2.66m2.66 2.66a1.33 1.33 0 1 1-2.66 0a1.33 1.33 0 0 1 2.66 0m1.33 4.6a1.33 1.33 0 1 0 0-2.66a1.33 1.33 0 0 0 0 2.66m5.76-.14a1.33 1.33 0 1 1-2.66 0a1.33 1.33 0 0 1 2.66 0m4.6 0a1.33 1.33 0 1 1-2.66 0a1.33 1.33 0 0 1 2.66 0"/><path fill="#00D26A" d="M20.36 28.02h5.89c2.03 0 3.74-1.66 3.7-3.7a3.635 3.635 0 0 0-3.63-3.56h-4.44c-.96 0-1.8-.64-2.05-1.57l-1.59-5.78a7.384 7.384 0 0 0-7.12-5.43H6.47a3.73 3.73 0 0 0-3.457 2.341L2.32 11.68l.693 1.236A3.63 3.63 0 0 0 6.4 15.24h3.2c.96 0 1.8.64 2.05 1.57l1.59 5.78c.88 3.21 3.8 5.43 7.12 5.43"/><path fill="#212121" d="M2.77 11.68c-.01-.484.08-.947.248-1.37A.84.84 0 0 0 2 11.13v.98a.845.845 0 0 0 1.019.82a3.6 3.6 0 0 1-.249-1.25m3.27-.55c0-.46-.38-.84-.84-.84c-.47 0-.84.37-.84.84v.98c0 .46.38.84.84.84s.84-.38.84-.84z"/></g>
</svg>
);Other libraries
Bug in 8 more libraries
Each library draws it its own way. Open one to compare.
Fluent Emoji Flat
More like it
Icons that share its tags, in the same style.
Search Fluent Emoji Flat
Skip the copy and paste. With Pro, your AI agent finds and installs any Fluent Emoji Flat icon from a prompt.
Get ProTags
Browse by tag
Bug is tagged development, software, error and 2 more. Related tags follow; each opens its icons from every library.
Pricing
Fluent Emoji Flat MCP, with Pro
Ask for Bug or any of 3,174 Fluent Emoji Flat 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 Bug icon means and where it's used, then how to install, style, label and license it.
The bug icon represents a common insect, but in the context of software development, it also symbolizes an error or issue in code. Debugging is an essential part of the development process.
In real-world applications, the bug icon may appear in software development tools, error tracking systems, or debugging software. For instance, a code editor might use this icon to represent a debugging feature.
From a UX perspective, the bug icon communicates a sense of problem-solving and debugging. When used in an interface, it helps users quickly identify content related to error tracking or resolution.
Bug is one of 3,174 icons in Fluent Emoji Flat, made by Microsoft Corporation and released under MIT. It is drawn on a 32 × 32 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 BugIcon to components/icons/fluent-emoji-flat-bug.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 BugIcon 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 Bug icon, or any of 3,174 Fluent Emoji Flat 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 32 × 32 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="Bug", so screen readers say what it does.
Yes. BugIcon passes every SVG prop to the svg element, so <BugIcon 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 Fluent Emoji Flat, Microsoft Corporation 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 Bug. 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 development, software, error, testing and debugging. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Bug in another set.
Fluent Emoji Flat draws many icons in several styles: Light next to the default. Open the library and pick a style above the grid to see Bug's siblings in it.
4.9 out of 5 from 150+ developers
Install Bug from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro