Pill Light icon
ph:pill-light
The Pill Light icon (ph:pill-light) 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, pilllight
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M215 41a51.28 51.28 0 0 0-72.5 0L41 142.5a51.26 51.26 0 0 0 72.49 72.5L215 113.5a51.31 51.31 0 0 0 0-72.5M105 206.5A39.26 39.26 0 0 1 49.48 151L96 104.49L151.52 160ZM206.52 105L160 151.51L104.48 96L151 49.5a39.26 39.26 0 0 1 55.52 55.5m-18.26-21.24a6 6 0 0 1 0 8.48l-24 24a6 6 0 0 1-8.49-8.48l24-24a6 6 0 0 1 8.49 0"/></svg>How to use the Pill Light icon
React
import { Icon } from "@iconify/react";
<Icon icon="ph:pill-light" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ph:pill-light" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ph:pill-light" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--pill-light]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:pill-light"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ph:pill-light"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ph/pill-light.svg" alt="Pill Light icon" width="24" height="24">Related icons in Phosphor
Pill Light icon FAQ
Is the Pill Light 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 Light icon in React?
Install @iconify/react and render <Icon icon="ph:pill-light" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Pill Light icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/pill-light.svg" alt="Pill Light icon">, or paste the SVG code inline to style it with CSS.