Vials icon
iconoir:vials
The Vials icon (iconoir:vials) is a free SVG icon from the Iconoir set by Luca Burgio. It is drawn on a 24 × 24 grid. Iconoir 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
- Iconoir
- Author
- Luca Burgio
- License
- MIT
- Size
- 24 × 24
- Category
- Science
- Tags
- vial
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M21 21H3m6-9H5m14 0h-4m-8 6a2 2 0 0 1-2-2V3h4v13a2 2 0 0 1-2 2m10 0a2 2 0 0 1-2-2V3h4v13a2 2 0 0 1-2 2"/></svg>How to use the Vials icon
React
import { Icon } from "@iconify/react";
<Icon icon="iconoir:vials" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="iconoir:vials" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="iconoir:vials" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[iconoir--vials]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/iconoir -->
<div class="i-iconoir:vials"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="iconoir:vials"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/iconoir/vials.svg" alt="Vials icon" width="24" height="24">Related icons in Iconoir
Vials icon in other icon sets
Vials icon FAQ
Is the Vials icon free for commercial use?
Yes. Iconoir icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Vials icon in React?
Install @iconify/react and render <Icon icon="iconoir:vials" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Vials icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/iconoir/vials.svg" alt="Vials icon">, or paste the SVG code inline to style it with CSS.