Virus icon
boxicons:virus
The Virus icon (boxicons:virus) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M13.5 9a1.5 1.5 0 1 0 0 3a1.5 1.5 0 1 0 0-3m-.5 5a1 1 0 1 0 0 2a1 1 0 1 0 0-2m-4-3a1 1 0 1 0 0 2a1 1 0 1 0 0-2"/><path fill="currentColor" d="M19.2 9.2h-.14s-.02-.02-.04-.07v-.02l-.03-.05c-.02-.04-.01-.08-.01-.09l.08-.08a2.807 2.807 0 0 0 0-3.96c-.53-.53-1.23-.82-1.98-.82s-1.45.29-1.98.82l-.1.1s-.05-.01-.09-.03s-.05-.02-.05-.02c-.05-.02-.07-.05-.07-.05v-.05c0-1.61-1.23-2.87-2.8-2.87s-2.8 1.26-2.8 2.8c0 .1-.04.16-.1.18h-.02s-.04.02-.05.02c-.03 0-.08 0-.12-.05c-.55-.55-1.25-.84-2-.84s-1.45.29-1.98.82a2.807 2.807 0 0 0 0 3.96c.07.07.08.14.06.19l-.02.04c-.02.05-.06.08-.11.08c-1.61 0-2.87 1.23-2.87 2.8s1.26 2.8 2.8 2.8h.05c.05 0 .1.03.12.08s.02.06.02.06c.01.03 0 .1-.04.14c-1.12 1.12-1.12 2.9-.03 3.99c.53.53 1.23.82 1.98.82s1.45-.29 1.98-.82c.07-.07.11-.07.14-.07c.02 0 .04 0 .06.01l.11.04v.08c.01 1.61 1.24 2.87 2.81 2.87s2.8-1.26 2.8-2.8v-.14l.2-.09l.11.1c.53.53 1.23.82 1.98.82s1.45-.29 1.98-.82a2.807 2.807 0 0 0 0-3.96l-.1-.1s0-.04.03-.09s.02-.05.02-.05c.02-.05.05-.07.06-.08h.05c1.61 0 2.87-1.23 2.87-2.8s-1.26-2.8-2.8-2.8Zm-.07 3.6h-.06c-.84 0-1.57.54-1.89 1.32l-.02.04c-.33.78-.2 1.68.4 2.28l.1.1c.31.31.31.82 0 1.13c-.16.16-.36.23-.57.23s-.41-.08-.57-.23l-.1-.1a2.02 2.02 0 0 0-2.19-.44l-.2.08c-.75.31-1.24 1.04-1.24 1.85v.14c0 .44-.36.8-.8.8s-.8-.36-.8-.87v-.07c0-.81-.49-1.54-1.24-1.85l-.11-.05a2.15 2.15 0 0 0-2.34.47l-.03.03c-.16.16-.36.23-.57.23s-.41-.08-.57-.23a.803.803 0 0 1 0-1.13l.03-.03c.61-.62.8-1.54.47-2.34l-.02-.04c-.33-.8-1.11-1.32-1.97-1.32h-.05c-.44 0-.8-.36-.8-.8s.36-.8.87-.8c.85 0 1.62-.51 1.95-1.3l.02-.05c.33-.8.15-1.73-.47-2.34l-.03-.03a.803.803 0 0 1 0-1.13c.16-.16.36-.23.57-.23s.41.08.57.23l.02.02a2.18 2.18 0 0 0 2.36.48c.81-.34 1.34-1.13 1.34-2v-.03c0-.44.36-.8.8-.8s.8.36.8.87v.06c0 .84.54 1.57 1.31 1.89l.04.02c.28.12.57.18.86.18c.52 0 1.03-.19 1.41-.58l.1-.1c.16-.16.36-.23.57-.23s.41.08.57.23c.31.31.31.82 0 1.13l-.1.1c-.6.6-.73 1.5-.4 2.28l.02.04c.32.78 1.04 1.32 1.89 1.32h.14c.44 0 .8.36.8.8s-.36.8-.87.8Z"/></svg>How to use the Virus icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:virus" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:virus" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:virus" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--virus]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:virus"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:virus"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/virus.svg" alt="Virus icon" width="24" height="24">Related icons in Boxicons
Virus icon in other icon sets
Virus icon FAQ
Is the Virus icon free for commercial use?
Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Virus icon in React?
Install @iconify/react and render <Icon icon="boxicons:virus" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Virus icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/virus.svg" alt="Virus icon">, or paste the SVG code inline to style it with CSS.