ICONYZ
English
Pills icon from Glyphs Poly

Pills icon

glyphs-poly:pills

The Pills icon (glyphs-poly:pills) is a free SVG icon from the Glyphs Poly set by Goran Spasojevic. It is drawn on a 80 × 80 grid. Glyphs Poly 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
Glyphs Poly
Author
Goran Spasojevic
License
MIT
Size
80 × 80
Tags
pill
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><g fill="none"><path fill="#eb5757" fill-rule="evenodd" d="M27.201 45c-5.467 5.468-5.467 14.333 0 19.8s14.332 5.467 19.799 0l9.9-9.9l-19.8-19.799z" clip-rule="evenodd"/><path fill="#f2f2f2" fill-rule="evenodd" d="M47 25.202c5.467-5.467 14.332-5.467 19.799 0c5.467 5.468 5.467 14.332 0 19.8l-9.9 9.899L37.1 35.1zM20 11a12 12 0 1 1 0 24.002A12 12 0 0 1 20 11" clip-rule="evenodd"/><path fill="#bdbdbd" d="M12.575 15.575A10.5 10.5 0 0 1 20 12.5v-3a13.5 13.5 0 0 0-9.546 3.954zM9.5 23a10.5 10.5 0 0 1 3.075-7.425l-2.121-2.121A13.5 13.5 0 0 0 6.5 23zm3.075 7.425A10.5 10.5 0 0 1 9.5 23h-3a13.5 13.5 0 0 0 3.954 9.546zM20 33.5a10.5 10.5 0 0 1-7.425-3.075l-2.121 2.121A13.5 13.5 0 0 0 20 36.5zm7.425-3.076A10.5 10.5 0 0 1 20 33.5v3a13.5 13.5 0 0 0 9.546-3.954zM30.5 23a10.5 10.5 0 0 1-3.075 7.424l2.12 2.122A13.5 13.5 0 0 0 33.5 23zm-3.075-7.424A10.5 10.5 0 0 1 30.5 23h3a13.5 13.5 0 0 0-3.954-9.546zm2.12-2.122A13.5 13.5 0 0 0 20 9.5v3a10.5 10.5 0 0 1 7.425 3.076z"/><path fill="#bdbdbd" d="M32 24.5a1.5 1.5 0 0 0 0-3zm-24-3a1.5 1.5 0 0 0 0 3zm24 0H8v3h24z"/></g></svg>

How to use the Pills icon

React

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

<Icon icon="glyphs-poly:pills" width="24" />

Vue

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

<template>
  <Icon icon="glyphs-poly:pills" width="24" />
</template>

Svelte

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

<Icon icon="glyphs-poly:pills" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[glyphs-poly--pills]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/glyphs-poly -->
<div class="i-glyphs-poly:pills"></div>

Web component

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

<iconify-icon icon="glyphs-poly:pills"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/glyphs-poly/pills.svg" alt="Pills icon" width="24" height="24">

Pills icon in other icon sets

Pills icon FAQ

Is the Pills icon free for commercial use?

Yes. Glyphs Poly icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Pills icon in React?

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

How do I add the Pills icon to a web page?

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

Browse all Glyphs Poly icons →