ICONYZ
English
Pill Bottle icon from Huge Icons

Pill Bottle icon

hugeicons:pill-bottle

The Pill Bottle icon (hugeicons:pill-bottle) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
Huge Icons
Author
Hugeicons
License
MIT
Size
24 × 24
Tags
pillbottle
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M6.5 2h11c.935 0 1.402 0 1.75.201a1.5 1.5 0 0 1 .549.549C20 3.098 20 3.565 20 4.5s0 1.402-.201 1.75a1.5 1.5 0 0 1-.549.549C18.902 7 18.435 7 17.5 7h-11c-.935 0-1.402 0-1.75-.201a1.5 1.5 0 0 1-.549-.549C4 5.902 4 5.435 4 4.5s0-1.402.201-1.75a1.5 1.5 0 0 1 .549-.549C5.098 2 5.565 2 6.5 2M18 16V7H6v9c0 2.828 0 4.243.879 5.121C7.757 22 9.172 22 12 22s4.243 0 5.121-.879C18 20.243 18 18.828 18 16"/><path d="M6 11h4c.943 0 1.414 0 1.707.293S12 12.057 12 13v2c0 .943 0 1.414-.293 1.707S10.943 17 10 17H6"/></g></svg>

How to use the Pill Bottle icon

React

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

<Icon icon="hugeicons:pill-bottle" width="24" />

Vue

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

<template>
  <Icon icon="hugeicons:pill-bottle" width="24" />
</template>

Svelte

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

<Icon icon="hugeicons:pill-bottle" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--pill-bottle]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:pill-bottle"></div>

Web component

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

<iconify-icon icon="hugeicons:pill-bottle"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/hugeicons/pill-bottle.svg" alt="Pill Bottle icon" width="24" height="24">

Related icons in Huge Icons

Pill Bottle icon in other icon sets

Pill Bottle icon FAQ

Is the Pill Bottle icon free for commercial use?

Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Pill Bottle icon in React?

Install @iconify/react and render <Icon icon="hugeicons:pill-bottle" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Pill Bottle icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/pill-bottle.svg" alt="Pill Bottle icon">, or paste the SVG code inline to style it with CSS.

Browse all Huge Icons →