Pill icon
emojione:pill
The Pill icon (emojione:pill) is a free SVG icon from the Emoji One (Colored) set by Emoji One. It is drawn on a 64 × 64 grid. Emoji One (Colored) icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Emoji One (Colored)
- Author
- Emoji One
- License
- CC-BY-4.0
- Size
- 64 × 64
- Category
- Objects
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64"><path fill="#ffce31" d="M6.2 57.8C1 52.7.6 44.6 5.3 39.9l17.1-17.1l18.8 18.8l-17.1 17.1c-4.7 4.7-12.8 4.3-17.9-.9"/><path fill="#42ade2" d="M58.3 26.8c5.3-5.3 4.9-14.3-1-20.1C51.5.9 42.5.5 37.2 5.7L24.4 18.5l-3.7 3.7l-.1.1c-.7.7-.7 1.9 0 2.6L39 43.3c.7.7 1.8.7 2.6 0l.1-.1l3.7-3.7z"/></svg>How to use the Pill icon
React
import { Icon } from "@iconify/react";
<Icon icon="emojione:pill" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="emojione:pill" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="emojione:pill" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[emojione--pill]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/emojione -->
<div class="i-emojione:pill"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="emojione:pill"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/emojione/pill.svg" alt="Pill icon" width="24" height="24">Pill icon in other icon sets
Pill icon FAQ
Is the Pill icon free for commercial use?
Yes. Emoji One (Colored) icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Pill icon in React?
Install @iconify/react and render <Icon icon="emojione:pill" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Pill icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/emojione/pill.svg" alt="Pill icon">, or paste the SVG code inline to style it with CSS.