ICONYZ
English
Pill icon from Fluent UI MDL2

Pill icon

fluent-mdl2:pill

The Pill icon (fluent-mdl2:pill) is a free SVG icon from the Fluent UI MDL2 set by Microsoft Corporation. It is drawn on a 2048 × 2048 grid. Fluent UI MDL2 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
Fluent UI MDL2
Author
Microsoft Corporation
License
MIT
Size
2048 × 2048
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="2048" height="2048" viewBox="0 0 2048 2048"><path fill="currentColor" d="M1536 704q26 0 45 19t19 45t-19 45t-45 19t-45-19t-19-45t19-45t45-19m-192 192q26 0 45 19t19 45t-19 45t-45 19t-45-19t-19-45q0-27 18-45t46-19m-192-192q26 0 45 19t19 45t-19 45t-45 19t-45-19t-19-45t19-45t45-19M1531 0q107 0 201 40t165 111t110 164t41 202q0 103-39 197t-112 168L882 1897q-73 73-167 112t-198 39q-107 0-201-40t-165-111t-110-164t-41-202q0-103 39-197t112-168L1166 151q73-73 167-112t198-39M517 1920q78 0 148-29t126-85l464-464l-549-549l-464 464q-55 55-84 126t-30 149q0 81 30 151t84 123t123 83t152 31M1806 791q55-55 84-125t30-149q0-81-30-151t-84-124t-123-83t-152-31q-78 0-148 29t-126 85L796 702l550 550z"/></svg>

How to use the Pill icon

React

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

<Icon icon="fluent-mdl2:pill" width="24" />

Vue

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

<template>
  <Icon icon="fluent-mdl2:pill" width="24" />
</template>

Svelte

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

<Icon icon="fluent-mdl2:pill" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="fluent-mdl2:pill"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fluent-mdl2/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. Fluent UI MDL2 icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Pill icon in React?

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

Browse all Fluent UI MDL2 icons →