Pill Duotone icon
ph:pill-duotone
The Pill Duotone icon (ph:pill-duotone) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor 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
- Phosphor
- Author
- Phosphor Icons
- License
- MIT
- Size
- 256 × 256
- Tags
- capsule, medicine, rx, pharmacy, pharmacist, pharmaceuticals, prescription, drugs, pillduotone
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><g fill="currentColor"><path d="m160 160l-50.75 50.75a45.26 45.26 0 0 1-64 0a45.26 45.26 0 0 1 0-64L96 96Z" opacity=".2"/><path d="M216.43 39.6a53.27 53.27 0 0 0-75.33 0L39.6 141.09a53.26 53.26 0 0 0 75.32 75.31l101.51-101.49a53.32 53.32 0 0 0 0-75.31M103.61 205.09a37.26 37.26 0 0 1-52.7-52.69L96 107.31L148.7 160Zm101.5-101.49L160 148.69L107.32 96l45.1-45.09a37.26 37.26 0 0 1 52.69 52.69m-15.43-21.26a8 8 0 0 1 0 11.32l-24 24a8 8 0 1 1-11.31-11.32l24-24a8 8 0 0 1 11.31 0"/></g></svg>How to use the Pill Duotone icon
React
import { Icon } from "@iconify/react";
<Icon icon="ph:pill-duotone" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ph:pill-duotone" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ph:pill-duotone" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--pill-duotone]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:pill-duotone"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ph:pill-duotone"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ph/pill-duotone.svg" alt="Pill Duotone icon" width="24" height="24">Related icons in Phosphor
Pill Duotone icon in other icon sets
Pill Duotone icon FAQ
Is the Pill Duotone icon free for commercial use?
Yes. Phosphor icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Pill Duotone icon in React?
Install @iconify/react and render <Icon icon="ph:pill-duotone" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Pill Duotone icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/pill-duotone.svg" alt="Pill Duotone icon">, or paste the SVG code inline to style it with CSS.