ICONYZ
English
Pills icon from OpenMoji

Pills icon

openmoji:pills

The Pills icon (openmoji:pills) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
OpenMoji
Author
OpenMoji
License
CC-BY-SA-4.0
Size
72 × 72
Category
Extras Openmoji
Tags
pill
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><rect width="56.1" height="36.65" x="7.95" y="17.68" fill="#92d3f5" rx="4.644" ry="4.644"/><circle cx="20.74" cy="28.92" r="4.486" fill="#9b9b9a"/><circle cx="36.19" cy="28.92" r="4.486" fill="#d0cfce"/><circle cx="51.64" cy="28.92" r="4.486" fill="#d0cfce"/><circle cx="20.74" cy="43.46" r="4.486" fill="#d0cfce"/><circle cx="36.19" cy="43.46" r="4.486" fill="#d0cfce"/><circle cx="51.64" cy="43.46" r="4.486" fill="#d0cfce"/><path fill="#d0cfce" d="M17.76 25.7h3.575v6.922H17.76z"/><path fill="#9b9b9a" d="M36 25.57h3.716v7.145H36zm15.03.09h3.669v7.098H51.03zm0 13.94h3.622v7.334H51.03zM36 39.61h3.778v7.188H36zm-14.66-.34h3.669v7.475H21.34z"/><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><rect width="53.89" height="35.2" x="9.057" y="18.4" rx="4.644" ry="4.644"/><circle cx="21.34" cy="29.2" r="4.309"/><circle cx="36.18" cy="29.2" r="4.309"/><circle cx="51.03" cy="29.2" r="4.309"/><circle cx="21.34" cy="43.16" r="4.309"/><circle cx="36.18" cy="43.16" r="4.309"/><circle cx="51.03" cy="43.16" r="4.309"/></g></svg>

How to use the Pills icon

React

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

<Icon icon="openmoji:pills" width="24" />

Vue

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

<template>
  <Icon icon="openmoji:pills" width="24" />
</template>

Svelte

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

<Icon icon="openmoji:pills" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="openmoji:pills"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/openmoji/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. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Pills icon in React?

Install @iconify/react and render <Icon icon="openmoji: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/openmoji/pills.svg" alt="Pills icon">, or paste the SVG code inline to style it with CSS.

Browse all OpenMoji icons →