Gentleface › Health & medical › virus
virus icon
virusVirus: virus, infection, germ, pathogen. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated virus-spikes · line-round
The spikes pull in toward the body and push back out past their length in a wave that runs once around it, clockwise from the top.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.2 s to 1.9 s. Examples and helper.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 4.035C8.269 4.074 8.532 4.144 8.788 4.246C9.08 4.361 9.35 4.512 9.596 4.696L10.793 3.5L10.146 2.854C10.049 2.756 10 2.638 10 2.5C10 2.362 10.049 2.244 10.146 2.146C10.246 2.047 10.364 1.997 10.5 1.997C10.636 1.997 10.754 2.047 10.854 2.146L12.854 4.146C12.951 4.244 13 4.362 13 4.5C13 4.638 12.951 4.756 12.854 4.854C12.754 4.953 12.636 5.003 12.5 5.003C12.364 5.003 12.246 4.953 12.146 4.854L11.5 4.207L10.304 5.404C10.488 5.65 10.639 5.92 10.754 6.212C10.856 6.468 10.926 6.731 10.965 7L13 7L13 6.5C13 6.359 13.048 6.241 13.144 6.144C13.241 6.048 13.359 6 13.5 6C13.641 6 13.759 6.048 13.856 6.144C13.952 6.241 14 6.359 14 6.5L14 8.5C14 8.641 13.952 8.759 13.856 8.856C13.759 8.952 13.641 9 13.5 9C13.359 9 13.241 8.952 13.144 8.856C13.048 8.759 13 8.641 13 8.5L13 8L10.965 8C10.926 8.269 10.856 8.532 10.754 8.788C10.639 9.08 10.488 9.35 10.304 9.596L11.5 10.793L12.146 10.146C12.246 10.047 12.364 9.997 12.5 9.997C12.636 9.997 12.754 10.047 12.854 10.146C12.953 10.246 13.003 10.364 13.003 10.5C13.003 10.636 12.953 10.754 12.854 10.854L10.854 12.854C10.754 12.953 10.636 13.003 10.5 13.003C10.364 13.003 10.246 12.953 10.146 12.854C10.047 12.754 9.997 12.636 9.997 12.5C9.997 12.364 10.047 12.246 10.146 12.146L10.793 11.5L9.596 10.304C9.35 10.488 9.08 10.639 8.788 10.754C8.532 10.856 8.269 10.926 8 10.965L8 13L8.5 13C8.641 13 8.759 13.048 8.856 13.144C8.952 13.241 9 13.359 9 13.5C9 13.641 8.952 13.759 8.856 13.856C8.759 13.952 8.641 14 8.5 14L6.5 14C6.359 14 6.241 13.952 6.144 13.856C6.048 13.759 6 13.641 6 13.5C6 13.359 6.048 13.241 6.144 13.144C6.241 13.048 6.359 13 6.5 13L7 13L7 10.965C6.731 10.926 6.468 10.856 6.212 10.754C5.92 10.639 5.65 10.488 5.404 10.304L4.207 11.5L4.854 12.146C4.953 12.246 5.003 12.364 5.003 12.5C5.003 12.636 4.953 12.754 4.854 12.854C4.756 12.951 4.638 13 4.5 13C4.362 13 4.244 12.951 4.146 12.854L2.146 10.854C2.047 10.754 1.997 10.636 1.997 10.5C1.997 10.364 2.047 10.246 2.146 10.146C2.244 10.049 2.362 10 2.5 10C2.638 10 2.756 10.049 2.854 10.146L3.5 10.793L4.696 9.596C4.512 9.35 4.361 9.08 4.246 8.788C4.144 8.532 4.074 8.269 4.035 8L2 8L2 8.5C2 8.641 1.952 8.759 1.856 8.856C1.759 8.952 1.641 9 1.5 9C1.359 9 1.241 8.952 1.144 8.856C1.048 8.759 1 8.641 1 8.5L1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6C1.641 6 1.759 6.048 1.856 6.144C1.952 6.241 2 6.359 2 6.5L2 7L4.035 7C4.074 6.731 4.144 6.468 4.246 6.212C4.361 5.92 4.512 5.65 4.697 5.404L3.5 4.207L2.854 4.854C2.756 4.951 2.638 5 2.5 5C2.362 5 2.244 4.951 2.146 4.854C2.049 4.756 2 4.638 2 4.5C2 4.362 2.049 4.244 2.146 4.146L4.146 2.146C4.244 2.049 4.362 2 4.5 2C4.638 2 4.756 2.049 4.854 2.146C4.951 2.244 5 2.362 5 2.5C5 2.638 4.951 2.756 4.854 2.854L4.207 3.5L5.404 4.697C5.65 4.512 5.92 4.361 6.212 4.246C6.468 4.144 6.731 4.074 7 4.035L7 2L6.5 2C6.359 2 6.241 1.952 6.144 1.856C6.048 1.759 6 1.641 6 1.5C6 1.359 6.048 1.241 6.144 1.144C6.241 1.048 6.359 1 6.5 1L8.5 1C8.641 1 8.759 1.048 8.856 1.144C8.952 1.241 9 1.359 9 1.5C9 1.641 8.952 1.759 8.856 1.856C8.759 1.952 8.641 2 8.5 2L8 2L8 4.035ZM6 9.501C6.177 9.633 6.37 9.741 6.58 9.824C6.875 9.941 7.182 10 7.5 10C7.818 10 8.125 9.941 8.42 9.824C8.63 9.741 8.823 9.634 9 9.501C9 9.362 9.049 9.244 9.146 9.146C9.244 9.049 9.362 9 9.501 9C9.633 8.823 9.741 8.63 9.824 8.42C9.941 8.125 10 7.818 10 7.5C10 7.182 9.941 6.875 9.824 6.58C9.741 6.37 9.634 6.177 9.501 6C9.362 6 9.244 5.951 9.146 5.854C9.049 5.756 9 5.638 9 5.5L9 5.499C8.823 5.367 8.63 5.259 8.42 5.176C8.125 5.059 7.818 5 7.5 5C7.182 5 6.875 5.059 6.58 5.176C6.37 5.259 6.177 5.366 6 5.499C6 5.638 5.951 5.756 5.854 5.854C5.756 5.951 5.638 6 5.499 6C5.366 6.177 5.259 6.37 5.176 6.58C5.059 6.875 5 7.182 5 7.5C5 7.818 5.059 8.125 5.176 8.42C5.259 8.63 5.366 8.823 5.499 9L5.5 9C5.638 9 5.756 9.049 5.854 9.146C5.951 9.244 6 9.362 6 9.501Z"/></svg>
// Gentleface "virus" (line-round), MIT. https://gentleface.com/icons/virus
import type { SVGProps } from 'react';
export function VirusIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M8 4.035C8.269 4.074 8.532 4.144 8.788 4.246C9.08 4.361 9.35 4.512 9.596 4.696L10.793 3.5L10.146 2.854C10.049 2.756 10 2.638 10 2.5C10 2.362 10.049 2.244 10.146 2.146C10.246 2.047 10.364 1.997 10.5 1.997C10.636 1.997 10.754 2.047 10.854 2.146L12.854 4.146C12.951 4.244 13 4.362 13 4.5C13 4.638 12.951 4.756 12.854 4.854C12.754 4.953 12.636 5.003 12.5 5.003C12.364 5.003 12.246 4.953 12.146 4.854L11.5 4.207L10.304 5.404C10.488 5.65 10.639 5.92 10.754 6.212C10.856 6.468 10.926 6.731 10.965 7L13 7L13 6.5C13 6.359 13.048 6.241 13.144 6.144C13.241 6.048 13.359 6 13.5 6C13.641 6 13.759 6.048 13.856 6.144C13.952 6.241 14 6.359 14 6.5L14 8.5C14 8.641 13.952 8.759 13.856 8.856C13.759 8.952 13.641 9 13.5 9C13.359 9 13.241 8.952 13.144 8.856C13.048 8.759 13 8.641 13 8.5L13 8L10.965 8C10.926 8.269 10.856 8.532 10.754 8.788C10.639 9.08 10.488 9.35 10.304 9.596L11.5 10.793L12.146 10.146C12.246 10.047 12.364 9.997 12.5 9.997C12.636 9.997 12.754 10.047 12.854 10.146C12.953 10.246 13.003 10.364 13.003 10.5C13.003 10.636 12.953 10.754 12.854 10.854L10.854 12.854C10.754 12.953 10.636 13.003 10.5 13.003C10.364 13.003 10.246 12.953 10.146 12.854C10.047 12.754 9.997 12.636 9.997 12.5C9.997 12.364 10.047 12.246 10.146 12.146L10.793 11.5L9.596 10.304C9.35 10.488 9.08 10.639 8.788 10.754C8.532 10.856 8.269 10.926 8 10.965L8 13L8.5 13C8.641 13 8.759 13.048 8.856 13.144C8.952 13.241 9 13.359 9 13.5C9 13.641 8.952 13.759 8.856 13.856C8.759 13.952 8.641 14 8.5 14L6.5 14C6.359 14 6.241 13.952 6.144 13.856C6.048 13.759 6 13.641 6 13.5C6 13.359 6.048 13.241 6.144 13.144C6.241 13.048 6.359 13 6.5 13L7 13L7 10.965C6.731 10.926 6.468 10.856 6.212 10.754C5.92 10.639 5.65 10.488 5.404 10.304L4.207 11.5L4.854 12.146C4.953 12.246 5.003 12.364 5.003 12.5C5.003 12.636 4.953 12.754 4.854 12.854C4.756 12.951 4.638 13 4.5 13C4.362 13 4.244 12.951 4.146 12.854L2.146 10.854C2.047 10.754 1.997 10.636 1.997 10.5C1.997 10.364 2.047 10.246 2.146 10.146C2.244 10.049 2.362 10 2.5 10C2.638 10 2.756 10.049 2.854 10.146L3.5 10.793L4.696 9.596C4.512 9.35 4.361 9.08 4.246 8.788C4.144 8.532 4.074 8.269 4.035 8L2 8L2 8.5C2 8.641 1.952 8.759 1.856 8.856C1.759 8.952 1.641 9 1.5 9C1.359 9 1.241 8.952 1.144 8.856C1.048 8.759 1 8.641 1 8.5L1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6C1.641 6 1.759 6.048 1.856 6.144C1.952 6.241 2 6.359 2 6.5L2 7L4.035 7C4.074 6.731 4.144 6.468 4.246 6.212C4.361 5.92 4.512 5.65 4.697 5.404L3.5 4.207L2.854 4.854C2.756 4.951 2.638 5 2.5 5C2.362 5 2.244 4.951 2.146 4.854C2.049 4.756 2 4.638 2 4.5C2 4.362 2.049 4.244 2.146 4.146L4.146 2.146C4.244 2.049 4.362 2 4.5 2C4.638 2 4.756 2.049 4.854 2.146C4.951 2.244 5 2.362 5 2.5C5 2.638 4.951 2.756 4.854 2.854L4.207 3.5L5.404 4.697C5.65 4.512 5.92 4.361 6.212 4.246C6.468 4.144 6.731 4.074 7 4.035L7 2L6.5 2C6.359 2 6.241 1.952 6.144 1.856C6.048 1.759 6 1.641 6 1.5C6 1.359 6.048 1.241 6.144 1.144C6.241 1.048 6.359 1 6.5 1L8.5 1C8.641 1 8.759 1.048 8.856 1.144C8.952 1.241 9 1.359 9 1.5C9 1.641 8.952 1.759 8.856 1.856C8.759 1.952 8.641 2 8.5 2L8 2L8 4.035ZM6 9.501C6.177 9.633 6.37 9.741 6.58 9.824C6.875 9.941 7.182 10 7.5 10C7.818 10 8.125 9.941 8.42 9.824C8.63 9.741 8.823 9.634 9 9.501C9 9.362 9.049 9.244 9.146 9.146C9.244 9.049 9.362 9 9.501 9C9.633 8.823 9.741 8.63 9.824 8.42C9.941 8.125 10 7.818 10 7.5C10 7.182 9.941 6.875 9.824 6.58C9.741 6.37 9.634 6.177 9.501 6C9.362 6 9.244 5.951 9.146 5.854C9.049 5.756 9 5.638 9 5.5L9 5.499C8.823 5.367 8.63 5.259 8.42 5.176C8.125 5.059 7.818 5 7.5 5C7.182 5 6.875 5.059 6.58 5.176C6.37 5.259 6.177 5.366 6 5.499C6 5.638 5.951 5.756 5.854 5.854C5.756 5.951 5.638 6 5.499 6C5.366 6.177 5.259 6.37 5.176 6.58C5.059 6.875 5 7.182 5 7.5C5 7.818 5.059 8.125 5.176 8.42C5.259 8.63 5.366 8.823 5.499 9L5.5 9C5.638 9 5.756 9.049 5.854 9.146C5.951 9.244 6 9.362 6 9.501Z" />
</svg>
);
}Vue: see /icons/virus.md
Svelte: see /icons/virus.md
HTML img: see /icons/virus.md
CSS: see /icons/virus.md
Data URL: see /icons/virus.md
Sprite: see /icons/virus.md
SwiftUI: see /icons/virus.md
Compose: see /icons/virus.md
Android XML: see /icons/virus.md
Flutter: see /icons/virus.md
Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
With npm: import { VirusIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- virus, infection, germ, pathogen, germs, bacteria, coronavirus
- Alternatives
shield-virus: antivirus or malware protectionbug: a software bug
- Not for
- antivirus (use
shield-virus): the bare germ means illness (health)
- antivirus (use
- Tags
- virus, infection, germ, pathogen, bacteria, disease, coronavirus, contagion, malware
- Category
- Health & medical
- Component name
VirusIcon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
Family 1
More health & medical icons
acupuncture bandage biceps-flexed blood-drop blood-pressure blood-pressure-drop bone cigarette cigarette-off crutches face-mask first-aid-kit head-heart heart-pulse heart-pulse-alert heart-pulse-check · all health & medical icons
For agents
Metadata: /icons/virus.json · Markdown: /icons/virus.md · SVG: https://gentleface.com/svg/{style}/16/virus.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/virus.png