Boxicons Virus Icon
The Virus icon from Boxicons is a bold-style SVG available in IconStash alongside 3,389+ other icons from the same library. Copy its SVG code, export a custom PNG, or download a React component — no account required.
Interactive Customizer
About this icon
Use the Virus icon
Icons in the bold style — like Virus — are designed for interface components and product UI. Use it across health and fitness apps, medical record systems, wellness dashboards, telemedicine platforms, and patient portals for a consistent, professional look.
IconStash's editor lets you fine-tune color, size, and stroke width in real time, then export in the format that fits your workflow: SVG, PNG, JSX, or CSS background-mask.
Export formats
Copy clean SVG vectors with one click, generate custom-size PNG files from 16px to 512px, export JSX/React components ready to paste into your project, or use the icon as a CSS background-mask for flexible theming.
All exports are based on the same editable vector — so the Virus icon stays pixel-perfect at 16px, 24px, 48px, and any large marketing size.
Design & UX integration
Aesthetic characteristics
Boxicons gives Virus a slightly chunkier, more rounded treatment than most outline sets, and ships Regular, Solid and Logos variants. The Logos subset — brand marks redrawn to match the UI icons — makes it a practical single-dependency choice for marketing sites.
UX best practices
In health, fitness and clinical interfaces, the Virus icon usually sits beside a number, so align it to the same baseline as the metric and give it room. Avoid encoding severity in colour alone: red-only status fails for colour-blind users and reads as alarm fatigue in long-term tracking screens.
Use in your project
React / npm — Boxicons
npm install react-icons
import { BxVirus } from 'react-icons/bx';
// JSX usage:
<BxVirus size={24} />
Copy the SVG markup directly from the IconStash editor to use the Virus icon without any npm package — paste it into HTML, JSX, or a design tool.
Inline SVG (copy & paste)
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="virus icon"><path fill="currentColor" d="M21 11h-.17c-1.053 0-1.958-.669-2.357-1.644l-.021-.049c-.408-.977-.249-2.097.5-2.846l.119-.119a.999.999 0 1 0-1.414-1.414l-.119.119c-.749.749-1.869.908-2.846.5l-.049-.021C13.669 5.128 13 4.218 13 3.165v-.081C13 2.447 12.553 2 12 2s-1 .447-1 1v.036c0 1.096-.66 2.084-1.673 2.503l-.006.003a2.71 2.71 0 0 1-2.953-.588l-.025-.025a.999.999 0 1 0-1.414 1.414l.036.036a2.69 2.69 0 0 1 .583 2.929l-.027.064A2.64 2.64 0 0 1 3.085 11h-.001C2.447 11 2 11.447 2 12s.447 1 1 1h.068a2.66 2.66 0 0 1 2.459 1.644l.021.049a2.69 2.69 0 0 1-.583 2.929l-.036.036a.999.999 0 1 0 1.414 1.414l.036-.036a2.69 2.69 0 0 1 2.929-.583l.143.06A2.505 2.505 0 0 1 11 20.83v.085c0 .638.447 1.085 1 1.085s1-.448 1-1v-.17c0-1.015.611-1.93 1.55-2.318l.252-.104a2.51 2.51 0 0 1 2.736.545l.119.119a.999.999 0 1 0 1.414-1.414l-.119-.119c-.749-.749-.908-1.869-.5-2.846l.021-.049c.399-.975 1.309-1.644 2.362-1.644h.08c.638 0 1.085-.447 1.085-1s-.447-1-1-1M8 13a1 1 0 1 1 0-2a1 1 0 0 1 0 2m5 3.5a1 1 0 1 1 0-2a1 1 0 0 1 0 2m1-4.5a2 2 0 1 1 .001-4.001A2 2 0 0 1 14 12"/></svg>
Library & related icons
About Boxicons
High-quality web icons by Atisa. 3,300+ carefully crafted icons in Regular, Solid, and Logos variants. One of the most popular free icon packs for web development.
Browse all 3,389 Boxicons icons →Related searches
People also search for
Frequently asked questions
What is the Virus icon?
The Virus icon is a bold-style SVG icon from the Boxicons library, categorized under Health. It is designed for use in health and fitness apps, medical record systems, wellness dashboards, telemedicine platforms, and patient portals. On IconStash you can preview it, customize its color and size, and export it in SVG, PNG, JSX, or CSS formats directly from your browser.
Is the Virus icon free to use?
Yes. Boxicons is licensed under MIT, making it free for personal and commercial use. This means you can freely use the Virus icon in personal, commercial, and open-source projects. IconStash provides SVG and PNG access at no cost with no login required.
How do I use the Virus icon in React?
Install the package with `npm install boxicons`, then import the component into your React file. IconStash's detail panel shows you the exact npm command, import statement, and JSX usage snippet for every icon — just click the Code tab and copy with one click.
What is the Boxicons icon library?
High-quality web icons by Atisa. 3,300+ carefully crafted icons in Regular, Solid, and Logos variants. One of the most popular free icon packs for web development. It contains 3,389+ icons. IconStash indexes the complete Boxicons collection alongside 27 other open-source libraries — 134,701 icons total — in a single unified search interface.
Can I download the Virus icon as a PNG?
Yes. Open the Virus icon in IconStash, set your desired pixel size (16px to 512px) in the detail panel, and click Download PNG. You can also export a multi-resolution ZIP pack containing 16, 24, 32, 48, 64, 128, 256, and 512px PNGs with a single click.
What does the bold icon style mean?
An icon in bold style uses a clean SVG vector format. This style is best suited for interface components. The Boxicons Virus icon follows this visual convention throughout the Boxicons design system.
Can I change the Virus icon's color and size before downloading?
Yes. In IconStash's editor panel, choose from six color presets (blue, slate, green, purple, red, teal) or enter a custom hex value. Drag the size slider (16–256px) or type an exact pixel value up to 512px. Changes apply instantly to the SVG preview, the PNG output, and the copied code.