ICONYZ
English
Pill Bottle icon from andrsrxn/icons

Pill Bottle icon

andrsrxn:pill-bottle

The Pill Bottle icon (andrsrxn:pill-bottle) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
andrsrxn/icons
Author
Andrés Raxón
License
MIT
Size
24 × 24
Category
Medical
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"><path fill="currentColor" d="M5.17 9.38c0-.35 0-.53.02-.68a2 2 0 0 1 1.69-1.68C7.02 7 7.2 7 7.55 7h7.28c1.88 0 2.83 0 3.41.59c.59.58.59 1.52.59 3.41v7.24c0 1.89 0 2.83-.59 3.42c-.58.58-1.53.58-3.41.58H7.66c-.45 0-.68 0-.87-.03a2 2 0 0 1-1.58-1.59c-.04-.19-.04-.41-.04-.86s0-.68.04-.87a2 2 0 0 1 1.58-1.58c.2-.04.42-.04.87-.04h1.62c.7 0 1.04 0 1.33-.08a2 2 0 0 0 1.32-1.31c.1-.28.1-.63.1-1.33c.02-.71.02-1.07-.07-1.36a2 2 0 0 0-1.32-1.34c-.3-.1-.65-.1-1.36-.1H7.55c-.35 0-.53 0-.67-.02a2 2 0 0 1-1.69-1.68c-.02-.14-.02-.32-.02-.67" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M5.17 7v9.24c0 2.83 0 4.24.88 5.12s2.3.88 5.12.88h1.66c2.83 0 4.24 0 5.12-.88s.88-2.29.88-5.12V7"/><rect width="17.47" height="5.24" x="3.26" y="1.76" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" rx="1.5"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M5.17 11.38H10c.94 0 1.41 0 1.7.29c.3.3.3.76.3 1.7v1.87c0 .94 0 1.41-.3 1.7c-.29.3-.76.3-1.7.3H5.17z"/></g></svg>

How to use the Pill Bottle icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in andrsrxn/icons

Pill Bottle icon in other icon sets

Pill Bottle icon FAQ

Is the Pill Bottle icon free for commercial use?

Yes. andrsrxn/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="andrsrxn: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/andrsrxn/pill-bottle.svg" alt="Pill Bottle icon">, or paste the SVG code inline to style it with CSS.

Browse all andrsrxn/icons →