ICONYZ
English
Bug icon from Codicons

Bug icon

codicon:bug

The Bug icon (codicon:bug) is a free SVG icon from the Codicons set by Microsoft Corporation. It is drawn on a 24 × 24 grid. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Codicons
Author
Microsoft Corporation
License
CC-BY-4.0
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" d="M14.5 8H13V6c0-.37-.102-.717-.278-1.015l1.131-1.131a.5.5 0 0 0-.707-.707l-1.131 1.131A2 2 0 0 0 11 4c0-1.654-1.346-3-3-3S5 2.346 5 4c-.37 0-.717.102-1.015.278L2.854 3.147a.5.5 0 0 0-.707.707l1.131 1.131A2 2 0 0 0 3 6v2H1.5a.5.5 0 0 0 0 1H3c0 1.199.424 2.3 1.13 3.163l-1.734 1.734a.5.5 0 0 0 .708.707l1.734-1.734A4.98 4.98 0 0 0 8.001 14c1.199 0 2.3-.424 3.163-1.13l1.734 1.734a.5.5 0 0 0 .708 0a.5.5 0 0 0 0-.707l-1.734-1.734A4.98 4.98 0 0 0 13.002 9h1.5a.5.5 0 0 0 0-1zM8 2c1.103 0 2 .897 2 2H6c0-1.103.897-2 2-2m4 7c0 2.206-1.794 4-4 4s-4-1.794-4-4V6c0-.551.448-1 1-1h6c.552 0 1 .449 1 1z"/></svg>

How to use the Bug icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Bug icon in other icon sets

Bug icon FAQ

Is the Bug icon free for commercial use?

Yes. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Bug icon in React?

Install @iconify/react and render <Icon icon="codicon: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/codicon/bug.svg" alt="Bug icon">, or paste the SVG code inline to style it with CSS.

Browse all Codicons →