Pharmacy icon
boxicons:pharmacy
The Pharmacy icon (boxicons:pharmacy) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19.1 2.8c-.38-.5-.97-.8-1.6-.8h-11c-.63 0-1.23.3-1.6.8L2.2 6.4c-.13.17-.2.38-.2.6v1c0 1.04.41 1.98 1.06 2.69c-.03.1-.06.2-.06.31v9c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9c0-.11-.03-.21-.06-.31C21.59 9.98 22 9.04 22 8V7c0-.22-.07-.43-.2-.6zM17.5 4L20 7.33V8c0 1.1-.9 2-2 2s-2-.9-2-2V7q0-.12-.03-.24L15.28 4zm-6.72 0h2.44L14 7.12V8c0 1.1-.9 2-2 2s-2-.9-2-2v-.88zM4 7.33L6.5 4h2.22l-.69 2.76Q8 6.88 8 7v1c0 1.1-.9 2-2 2s-2-.9-2-2zM5 20v-8.14c.32.08.65.14 1 .14c1.2 0 2.27-.54 3-1.38c.73.84 1.8 1.38 3 1.38s2.27-.54 3-1.38c.73.84 1.8 1.38 3 1.38c.35 0 .68-.06 1-.14V20z"/><path fill="currentColor" d="M13 13h-2v2H9v2h2v2h2v-2h2v-2h-2z"/></svg>How to use the Pharmacy icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:pharmacy" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:pharmacy" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:pharmacy" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--pharmacy]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:pharmacy"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:pharmacy"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/pharmacy.svg" alt="Pharmacy icon" width="24" height="24">Related icons in Boxicons
Pharmacy icon in other icon sets
Pharmacy icon FAQ
Is the Pharmacy icon free for commercial use?
Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Pharmacy icon in React?
Install @iconify/react and render <Icon icon="boxicons:pharmacy" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Pharmacy icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/pharmacy.svg" alt="Pharmacy icon">, or paste the SVG code inline to style it with CSS.