ICONYZ
English
Pills icon from Font Awesome 6 Solid

Pills icon

fa6-solid:pills

The Pills icon (fa6-solid:pills) is a free SVG icon from the Font Awesome 6 Solid set by Dave Gandy. It is drawn on a 576 × 512 grid. Font Awesome 6 Solid 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
Font Awesome 6 Solid
Author
Dave Gandy
License
CC-BY-4.0
Size
576 × 512
Category
Medical, Science, Pharmacy
Tags
pill
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="576" height="512" viewBox="0 0 576 512"><path fill="currentColor" d="M112 96c-26.5 0-48 21.5-48 48v112h96V144c0-26.5-21.5-48-48-48M0 144C0 82.1 50.1 32 112 32s112 50.1 112 112v224c0 61.9-50.1 112-112 112S0 429.9 0 368zm554.9 255.4c-7.1 12.3-23.7 13.1-33.8 3.1L333.5 214.9c-10-10-9.3-26.7 3.1-33.8C360 167.7 387.1 160 416 160c88.4 0 160 71.6 160 160c0 28.9-7.7 56-21.1 79.4m-59.5 59.5C472 472.3 444.9 480 416 480c-88.4 0-160-71.6-160-160c0-28.9 7.7-56 21.1-79.4c7.1-12.3 23.7-13.1 33.8-3.1l187.6 187.6c10 10 9.3 26.7-3.1 33.8"/></svg>

How to use the Pills icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="fa6-solid:pills"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fa6-solid/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. Font Awesome 6 Solid 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 Pills icon in React?

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

Browse all Font Awesome 6 Solid icons →