ICONYZ
English
Vial icon from BoxIcons v2 Solid

Vial icon

bxs:vial

The Vial icon (bxs:vial) is a free SVG icon from the BoxIcons v2 Solid set by Boxicons. It is drawn on a 24 × 24 grid. BoxIcons v2 Solid 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 Solid
Author
Boxicons
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M7 22a4.97 4.97 0 0 0 3.535-1.465l9.193-9.193l.707.708l1.414-1.414l-8.485-8.486l-1.414 1.414l.708.707l-9.193 9.193C2.521 14.408 2 15.664 2 17s.521 2.592 1.465 3.535A4.97 4.97 0 0 0 7 22M18.314 9.928L15.242 13H6.758l7.314-7.314z"/></svg>

How to use the Vial icon

React

import { Icon } from "@iconify/react";

<Icon icon="bxs:vial" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="bxs:vial" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="bxs:vial" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[bxs--vial]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/bxs -->
<div class="i-bxs:vial"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="bxs:vial"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/bxs/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 Solid 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="bxs: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/bxs/vial.svg" alt="Vial icon">, or paste the SVG code inline to style it with CSS.

Browse all BoxIcons v2 Solid icons →