ICONYZ
English
Bug icon from BoxIcons v2

Bug icon

bx:bug

The Bug icon (bx:bug) is a free SVG icon from the BoxIcons v2 set by Boxicons. It is drawn on a 24 × 24 grid. BoxIcons v2 icons 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
BoxIcons v2
Author
Boxicons
License
MIT
Size
24 × 24
Tags
bx bug
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m16.895 6.519l2.813-2.812l-1.414-1.414l-2.846 2.846a7 7 0 0 0-.723-.454a5.78 5.78 0 0 0-5.45 0c-.25.132-.488.287-.722.453L5.707 2.293L4.293 3.707l2.813 2.812A8.5 8.5 0 0 0 5.756 9H2v2h2.307c-.065.495-.107.997-.107 1.5c0 .507.042 1.013.107 1.511H2v2h2.753c.013.039.021.08.034.118c.188.555.421 1.093.695 1.6c.044.081.095.155.141.234l-2.33 2.33l1.414 1.414l2.11-2.111a7.5 7.5 0 0 0 2.068 1.619c.479.253.982.449 1.496.58a6.5 6.5 0 0 0 3.237.001a6.8 6.8 0 0 0 1.496-.58c.465-.246.914-.55 1.333-.904c.258-.218.5-.462.734-.716l2.111 2.111l1.414-1.414l-2.33-2.33c.047-.08.098-.155.142-.236c.273-.505.507-1.043.694-1.599c.013-.039.021-.079.034-.118H22v-2h-2.308c.065-.499.107-1.004.107-1.511c0-.503-.042-1.005-.106-1.5H22V9h-3.756a8.5 8.5 0 0 0-1.349-2.481M8.681 7.748c.445-.558.96-.993 1.528-1.294a3.77 3.77 0 0 1 3.581 0a4.9 4.9 0 0 1 1.53 1.295c.299.373.54.8.753 1.251H7.927c.214-.451.454-.879.754-1.252M17.8 12.5c0 .522-.042 1.044-.126 1.553c-.079.49-.199.973-.355 1.436a8.3 8.3 0 0 1-.559 1.288a7.6 7.6 0 0 1-.733 1.11c-.267.333-.56.636-.869.898q-.467.393-.979.664c-.512.271-.695.317-1.057.41c-.04.01-.082.014-.122.023V14h-2v5.881c-.04-.009-.082-.013-.122-.023c-.361-.093-.717-.23-1.057-.41s-.669-.403-.978-.664a6.5 6.5 0 0 1-.871-.899a7.4 7.4 0 0 1-.731-1.108a8.3 8.3 0 0 1-.56-1.289a9 9 0 0 1-.356-1.438A9.6 9.6 0 0 1 6.319 11H17.68c.079.491.12.995.12 1.5"/></svg>

How to use the Bug icon

React

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

<Icon icon="bx:bug" width="24" />

Vue

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

<template>
  <Icon icon="bx:bug" width="24" />
</template>

Svelte

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

<Icon icon="bx:bug" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="bx:bug"></iconify-icon>

HTML image

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

Related icons in BoxIcons v2

Bug icon in other icon sets

Bug icon FAQ

Is the Bug icon free for commercial use?

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

How do I use the Bug icon in React?

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

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

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

Browse all BoxIcons v2 icons →