ICONYZ
English
Pills icon from IconPark

Pills icon

icon-park:pills

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

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><g fill="none" stroke-width="4"><path fill="#2F88FF" fill-rule="evenodd" stroke="#000" d="M9.97315 22.0623L17.2506 15.9558L24.528 9.84929C28.9703 6.12177 35.5932 6.7012 39.3207 11.1435C43.0483 15.5858 42.4688 22.2087 38.0265 25.9362L30.7491 32.0427L23.4717 38.1492C19.0294 41.8767 12.4065 41.2973 8.67896 36.855C4.95144 32.4127 5.53087 25.7898 9.97315 22.0623Z" clip-rule="evenodd"/><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" d="M19.6885 21.8613L25.4261 28.6992"/></g></svg>

How to use the Pills icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="icon-park:pills"></iconify-icon>

HTML image

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

Pills icon in other icon sets

Pills icon FAQ

Is the Pills icon free for commercial use?

Yes. IconPark icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Pills icon in React?

Install @iconify/react and render <Icon icon="icon-park:pills" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Pills icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/icon-park/pills.svg" alt="Pills icon">, or paste the SVG code inline to style it with CSS.

Browse all IconPark icons →