ICONYZ
English
Bug 2 icon from Majesticons

Bug 2 icon

majesticons:bug-2

The Bug 2 icon (majesticons:bug-2) is a free SVG icon from the Majesticons set by Gerrit Halfmann. It is drawn on a 24 × 24 grid. Majesticons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Majesticons
Author
Gerrit Halfmann
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M7.293 3.293a1 1 0 0 1 1.414 0l1.876 1.876A6.4 6.4 0 0 1 12 5q.772.002 1.445.14l1.848-1.847a1 1 0 1 1 1.414 1.414L15.45 5.965A5.5 5.5 0 0 1 17.249 8H18c.173 0 .456-.06.666-.212c.159-.114.334-.314.334-.788a1 1 0 1 1 2 0c0 1.126-.491 1.926-1.166 2.412A3.23 3.23 0 0 1 18 10h-.086c.06.36.086.7.086 1v1h2a1 1 0 1 1 0 2h-2v1c0 .3-.026.64-.086 1H18c.493 0 1.211.14 1.834.588C20.51 17.075 21 17.875 21 19a1 1 0 1 1-2 0c0-.474-.175-.674-.334-.788A1.24 1.24 0 0 0 18 18h-.751a5.5 5.5 0 0 1-1.552 1.857C14.766 20.563 13.543 21 12 21s-2.765-.437-3.697-1.143c-.7-.53-1.2-1.188-1.552-1.857H6c-.173 0-.456.06-.666.212c-.159.114-.334.314-.334.788a1 1 0 1 1-2 0c0-1.126.492-1.926 1.166-2.412A3.23 3.23 0 0 1 6 16h.086c-.06-.36-.086-.7-.086-1v-1H4a1 1 0 1 1 0-2h2v-1q0-.523.065-1H6c-.493 0-1.211-.14-1.834-.588C3.492 8.926 3 8.126 3 7a1 1 0 0 1 2 0c0 .474.175.674.334.788c.21.152.493.212.666.212h.696A5.34 5.34 0 0 1 8.58 5.994L7.293 4.707a1 1 0 0 1 0-1.414M12 9a1 1 0 1 0 0 2h.001a1 1 0 1 0 0-2zm-3 4a1 1 0 0 1 1-1h.001a1 1 0 1 1 0 2H10a1 1 0 0 1-1-1m5-1a1 1 0 1 0 0 2h.001a1 1 0 1 0 0-2z" clip-rule="evenodd"/></svg>

How to use the Bug 2 icon

React

import { Icon } from "@iconify/react";

<Icon icon="majesticons:bug-2" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="majesticons:bug-2" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="majesticons:bug-2" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[majesticons--bug-2]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/majesticons -->
<div class="i-majesticons:bug-2"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="majesticons:bug-2"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/majesticons/bug-2.svg" alt="Bug 2 icon" width="24" height="24">

Related icons in Majesticons

Bug 2 icon FAQ

Is the Bug 2 icon free for commercial use?

Yes. Majesticons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Bug 2 icon in React?

Install @iconify/react and render <Icon icon="majesticons:bug-2" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Bug 2 icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/majesticons/bug-2.svg" alt="Bug 2 icon">, or paste the SVG code inline to style it with CSS.

Browse all Majesticons →