Pills 2 icon
healthicons:pills-2
The Pills 2 icon (healthicons:pills-2) is a free SVG icon from the Health Icons set by Resolve to Save Lives. It is drawn on a 48 × 48 grid. Health 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
- Health Icons
- Author
- Resolve to Save Lives
- License
- MIT
- Size
- 48 × 48
- Category
- Medications
- Tags
- pill
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="currentColor" fill-rule="evenodd" d="M16 26c5.523 0 10-4.477 10-10S21.523 6 16 6S6 10.477 6 16s4.477 10 10 10m4.304-10.692a1 1 0 0 0-.762-1.849l-7.846 3.233a1 1 0 1 0 .763 1.85zM32 42c5.523 0 10-4.477 10-10s-4.477-10-10-10s-10 4.477-10 10s4.477 10 10 10m3.91-8.075a1 1 0 1 0 .449-1.949l-8.27-1.901a1 1 0 1 0-.448 1.949z" clip-rule="evenodd"/></svg>How to use the Pills 2 icon
React
import { Icon } from "@iconify/react";
<Icon icon="healthicons:pills-2" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="healthicons:pills-2" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="healthicons:pills-2" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[healthicons--pills-2]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/healthicons -->
<div class="i-healthicons:pills-2"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="healthicons:pills-2"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/healthicons/pills-2.svg" alt="Pills 2 icon" width="24" height="24">Related icons in Health Icons
Pills 2 icon FAQ
Is the Pills 2 icon free for commercial use?
Yes. Health Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Pills 2 icon in React?
Install @iconify/react and render <Icon icon="healthicons:pills-2" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Pills 2 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/healthicons/pills-2.svg" alt="Pills 2 icon">, or paste the SVG code inline to style it with CSS.