- Category
- general
- Styles
- Outline
- Component
- IconVirus
- License
- MIT · Paweł Kuna
- Files
-
outline/virus.svg
Virus icon
Download the Virus icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- bacteria
- germ
- infection
- disease
- covid
- bug
- pathogen
Size
Stroke
Color
Code
Copy it the way you use it
virus.svg
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M7 12a5 5 0 1 0 10 0a5 5 0 1 0 -10 0" />
<path d="M12 7v-4" />
<path d="M11 3h2" />
<path d="M15.536 8.464l2.828 -2.828" />
<path d="M17.657 4.929l1.414 1.414" />
<path d="M17 12h4" />
<path d="M21 11v2" />
<path d="M15.535 15.536l2.829 2.828" />
<path d="M19.071 17.657l-1.414 1.414" />
<path d="M12 17v4" />
<path d="M13 21h-2" />
<path d="M8.465 15.536l-2.829 2.828" />
<path d="M6.343 19.071l-1.413 -1.414" />
<path d="M7 12h-4" />
<path d="M3 13v-2" />
<path d="M8.464 8.464l-2.828 -2.828" />
<path d="M4.929 6.343l1.414 -1.413" />
</svg> Use the Virus icon
For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.
React example
import { IconVirus } from '@tabler/icons-react';
<IconVirus size={24} stroke={2} />Read the React guideVue example
import { IconVirus } from '@tabler/icons-vue';
<IconVirus :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconVirus } from '@tabler/icons-svelte-runes';
<IconVirus size={24} stroke={2} />Read the Svelte guideCompare variants and alternatives
Related