ICONYZ
English
Pill icon from Twitter Emoji

Pill icon

twemoji:pill

The Pill icon (twemoji:pill) is a free SVG icon from the Twitter Emoji set by Twitter. It is drawn on a 36 × 36 grid. Twitter Emoji 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
Twitter Emoji
Author
Twitter
License
CC-BY-4.0
Size
36 × 36
Category
Objects
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path fill="#bb1a34" d="m33.207 19.773l-8.868-8.855L11.105 24.54l8.684 8.685l.001-.001A9.47 9.47 0 0 0 26.5 36c5.246 0 9.5-4.254 9.5-9.5a9.47 9.47 0 0 0-2.793-6.727"/><path fill="#fdcb58" d="M15.921 2.513A9.45 9.45 0 0 0 9.5 0A9.5 9.5 0 0 0 0 9.5c0 2.479.958 4.73 2.514 6.421l-.014.014l8.605 8.605l13.234-13.622z"/></svg>

How to use the Pill icon

React

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

<Icon icon="twemoji:pill" width="24" />

Vue

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

<template>
  <Icon icon="twemoji:pill" width="24" />
</template>

Svelte

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

<Icon icon="twemoji:pill" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="twemoji:pill"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/twemoji/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. Twitter Emoji 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="twemoji: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/twemoji/pill.svg" alt="Pill icon">, or paste the SVG code inline to style it with CSS.

Browse all Twitter Emoji icons →