ICONYZ
English
Vial icon from Font Awesome Solid

Vial icon

fa7-solid:vial

The Vial icon (fa7-solid:vial) is a free SVG icon from the Font Awesome Solid set by Dave Gandy. It is drawn on a 640 × 640 grid. Font Awesome Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Font Awesome Solid
Author
Dave Gandy
License
CC-BY-4.0
Size
640 × 640
Category
Pharmacy, Medical, Science
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="640" height="640" viewBox="0 0 640 640"><path fill="currentColor" d="M406.6 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l9.4 9.3L92.1 406.6c-18 18-28.1 42.4-28.1 67.9v5.5c0 53 43 96 96 96h5.5c25.5 0 49.9-10.1 67.9-28.1L512 269.3l9.4 9.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160zM269.3 320L416 173.3l50.7 50.7l-96 96H269.2z"/></svg>

How to use the Vial icon

React

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

<Icon icon="fa7-solid:vial" width="24" />

Vue

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

<template>
  <Icon icon="fa7-solid:vial" width="24" />
</template>

Svelte

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

<Icon icon="fa7-solid:vial" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="fa7-solid:vial"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fa7-solid/vial.svg" alt="Vial icon" width="24" height="24">

Related icons in Font Awesome Solid

Vial icon in other icon sets

Vial icon FAQ

Is the Vial icon free for commercial use?

Yes. Font Awesome Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Vial icon in React?

Install @iconify/react and render <Icon icon="fa7-solid: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/fa7-solid/vial.svg" alt="Vial icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome Solid icons →