Vial icon
bx:vial
The Vial icon (bx:vial) is a free SVG icon from the BoxIcons v2 set by Boxicons. It is drawn on a 24 × 24 grid. BoxIcons v2 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
- BoxIcons v2
- Author
- Boxicons
- License
- MIT
- Size
- 24 × 24
- Tags
- bx vial
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m11.95 3.564l.708.707l-9.193 9.193C2.521 14.408 2 15.664 2 17s.521 2.592 1.465 3.535C4.408 21.479 5.664 22 7 22s2.592-.521 3.535-1.465l9.193-9.193l.707.708l1.414-1.414l-8.485-8.486zM9.121 19.121c-1.133 1.133-3.109 1.133-4.242 0C4.313 18.555 4 17.802 4 17s.313-1.555.879-2.121L5.758 14h8.484zM16.242 12H7.758l6.314-6.314l4.242 4.242z"/></svg>How to use the Vial icon
React
import { Icon } from "@iconify/react";
<Icon icon="bx:vial" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bx:vial" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bx:vial" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bx--vial]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bx -->
<div class="i-bx:vial"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bx:vial"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bx/vial.svg" alt="Vial icon" width="24" height="24">Vial icon in other icon sets
Vial icon FAQ
Is the Vial icon free for commercial use?
Yes. BoxIcons v2 icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Vial icon in React?
Install @iconify/react and render <Icon icon="bx:vial" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Vial icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/bx/vial.svg" alt="Vial icon">, or paste the SVG code inline to style it with CSS.