Bug icon
keyline-icons:bug
The Bug icon (keyline-icons:bug) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline 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
- Keyline Icons
- Author
- Keyline Icons
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6.8 9.4C6.59 9.925 6.5 10.45 6.5 10.9L6.5 14.6C6.5 17.68 8.975 20.2 12 20.2C15.025 20.2 17.5 17.68 17.5 14.6L17.5 10.9C17.5 10.45 17.41 9.925 17.2 9.4C15.902 7.877 14.001 7 12 7C9.999 7 8.098 7.877 6.8 9.4ZM9 7.694L9 5.695C9 4.972 9.317 4.316 9.832 3.832C10.378 3.319 11.148 3 12 3C12.852 3 13.622 3.319 14.168 3.832C14.683 4.316 15 4.972 15 5.695L15 7.694M8 2L9.832 3.832M16 2L14.168 3.832M20 4.6L20 5.57C20 7.485 18.796 9.055 17.2 9.4M4 4.6L4 5.57C4 7.485 5.204 9.055 6.8 9.4M21 13.4L17.5 13.4M3 13.4L6.5 13.4M20.5 22L20.5 21.03C20.5 19.215 18.931 17.727 16.85 17.4M3.5 22L3.5 21.03C3.5 19.215 5.07 17.727 7.15 17.4M12 12L12 15.6"/></svg>How to use the Bug icon
React
import { Icon } from "@iconify/react";
<Icon icon="keyline-icons:bug" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="keyline-icons:bug" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="keyline-icons:bug" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--bug]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:bug"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="keyline-icons:bug"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/keyline-icons/bug.svg" alt="Bug icon" width="24" height="24">Related icons in Keyline Icons
Bug icon in other icon sets
Bug icon FAQ
Is the Bug icon free for commercial use?
Yes. Keyline 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="keyline-icons: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/keyline-icons/bug.svg" alt="Bug icon">, or paste the SVG code inline to style it with CSS.