ICONYZ
English
Pill icon from IconPark Solid

Pill icon

icon-park-solid:pill

The Pill icon (icon-park-solid:pill) is a free SVG icon from the IconPark Solid set by ByteDance. It is drawn on a 48 × 48 grid. IconPark Solid icons are released under the Apache 2.0 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
IconPark Solid
Author
ByteDance
License
Apache-2.0
Size
48 × 48
Category
Health
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><defs><mask id="SVGLk3gschu"><g fill="none"><path fill="#fff" stroke="#fff" stroke-linejoin="round" stroke-width="4" d="M5.615 22.585a3 3 0 0 1 0-4.242L18.343 5.615a3 3 0 0 1 4.243 0l19.799 19.799a3 3 0 0 1 0 4.242L29.657 42.384a3 3 0 0 1-4.243 0z"/><circle cx="14.808" cy="20.465" r="2" fill="#000" transform="rotate(-45 14.808 20.465)"/><circle cx="23.293" cy="28.949" r="2" fill="#000" transform="rotate(-45 23.293 28.95)"/><circle cx="19.05" cy="24.707" r="2" fill="#000" transform="rotate(-45 19.05 24.707)"/><circle cx="27.536" cy="33.193" r="2" fill="#000" transform="rotate(-45 27.536 33.193)"/><circle cx="20.464" cy="14.807" r="2" fill="#000" transform="rotate(-45 20.464 14.807)"/><circle cx="28.95" cy="23.293" r="2" fill="#000" transform="rotate(-45 28.95 23.293)"/><circle cx="24.707" cy="19.051" r="2" fill="#000" transform="rotate(-45 24.707 19.05)"/><circle cx="33.193" cy="27.535" r="2" fill="#000" transform="rotate(-45 33.193 27.535)"/></g></mask></defs><path fill="currentColor" d="M0 0h48v48H0z" mask="url(#SVGLk3gschu)"/></svg>

How to use the Pill icon

React

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

<Icon icon="icon-park-solid:pill" width="24" />

Vue

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

<template>
  <Icon icon="icon-park-solid:pill" width="24" />
</template>

Svelte

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

<Icon icon="icon-park-solid:pill" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="icon-park-solid:pill"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/icon-park-solid/pill.svg" alt="Pill icon" width="24" height="24">

Related icons in IconPark Solid

Pill icon in other icon sets

Pill icon FAQ

Is the Pill icon free for commercial use?

Yes. IconPark Solid icons are released under the Apache 2.0 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="icon-park-solid: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/icon-park-solid/pill.svg" alt="Pill icon">, or paste the SVG code inline to style it with CSS.

Browse all IconPark Solid icons →