Pill icon

Pill is a Google Material Symbol from the Social category. It comes in outlined, rounded and sharp styles, filled or unfilled, at seven weights from 100 to 700. Download it as SVG or PNG, or copy code for HTML, React, Vue, Angular, Flutter and Android — it's free to use under the Apache License 2.0.

Outlined

SVG

Outlined, filled

SVG

Every style, fill and weight

Material Symbols are variable: each icon comes in three styles, with or without fill, at seven weights. Pick a combination to preview it, download it, or copy the code for your platform.

Outlined, unfilled, weight 400

pill_outlined_fill0_wght400.svg

Pill icon in HTML

Load the Material Symbols font from Google Fonts (this link loads just this icon), then use the icon's name as text.

<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200&icon_names=pill" />

<span class="material-symbols-outlined">pill</span>

Pill icon in React

// With the font from the HTML tab:
export function PillIcon() {
  return (
    <span className="material-symbols-outlined">
      pill
    </span>
  );
}

// Or as an SVG component (Vite + vite-plugin-svgr) instead:
//   npm install @material-symbols/svg-400
//   import PillIcon from "@material-symbols/svg-400/outlined/pill.svg?react";

Pill icon in Vue

<!-- With the font from the HTML tab -->
<template>
  <span class="material-symbols-outlined">pill</span>
</template>

<!-- Or as an SVG component (Vite + vite-svg-loader):
     npm install @material-symbols/svg-400
     import PillIcon from "@material-symbols/svg-400/outlined/pill.svg?component"; -->

Pill icon in Angular

With Angular Material and the font from the HTML tab:

<mat-icon fontSet="material-symbols-outlined">pill</mat-icon>

Pill icon in Flutter

Uses the community material_symbols_icons package.

flutter pub add material_symbols_icons

import 'package:material_symbols_icons/symbols.dart';

Icon(Symbols.pill, fill: 0, weight: 400)

Pill icon in Android

A vector drawable of the selected style, fill and weight:

<!-- res/drawable/pill.xml -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24"
    android:viewportHeight="24"
    android:tint="?attr/colorControlNormal">
        <path android:fillColor="@android:color/white" android:pathData="M8.625 21q-2.35 0-3.987-1.637T3 15.375q0-1.125 .425-2.15t1.225-1.825l6.75-6.75q.8-.8 1.825-1.225t2.15-.425q2.35 0 3.988 1.638T21 8.625q0 1.125-.425 2.15t-1.225 1.825L12.6 19.35q-.8 .8-1.825 1.225t-2.15 .425Zm6.825-6.625 2.85-2.825q.575-.575 .888-1.337T19.5 8.625q0-1.725-1.2-2.925t-2.925-1.2q-.825 0-1.587 .313T12.45 5.7L9.625 8.55l5.825 5.825ZM8.625 19.5q.8 0 1.575-.312t1.35-.888l2.825-2.85-5.825-5.825-2.85 2.825q-.575 .575-.887 1.338T4.5 15.375q0 1.725 1.2 2.925t2.925 1.2Z" />
</vector>

Pill icon in SVG

npm install @material-symbols/svg-400

import icon from "@material-symbols/svg-400/outlined/pill.svg";

<!-- or load it from a CDN -->
<img src="https://cdn.jsdelivr.net/npm/@material-symbols/[email protected]/outlined/pill.svg" width="24" height="24" alt="Pill">

Pill icon in Power Apps

Paste into an Image control's Image property. The Copy button copies the full formula with this icon's SVG.

"data:image/svg+xml;utf8, " & EncodeUrl("<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'>…</svg>")

Details

NamePill
Ligaturepill
Code pointU+E11F
CategorySocial
StylesOutlined, Rounded, Sharp — each unfilled or filled
Weights100, 200, 300, 400, 500, 600, 700
Files@material-symbols/svg-400/outlined/pill.svg, pill-fill.svg
FlutterSymbols.pill
LicenseApache License 2.0 (© Google LLC)

Keywords

socialiconhealthmedicalsimplehealthcareroundobjectbasicmedicinewellnesstreatmenttherapy

Related icons