Pills icon
fontisto:pills
The Pills icon (fontisto:pills) is a free SVG icon from the Fontisto set by Kenan Gündoğan. It is drawn on a 24 × 24 grid. Fontisto 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
- Fontisto
- Author
- Kenan Gündoğan
- License
- MIT
- Size
- 24 × 24
- Category
- Medical
- Tags
- pill
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M5.294 0A5.296 5.296 0 0 0 0 5.294v13.411a5.294 5.294 0 1 0 10.588 0V5.294A5.31 5.31 0 0 0 5.295 0zm4.141 11.423H1.153V5.294a4.142 4.142 0 0 1 8.284 0zm12.802 3.16a5.689 5.689 0 0 0-9.265 6.523l-.015-.028zm-8.667 7.371a5.689 5.689 0 0 0 9.265-6.523l.015.028zM18.361.801h.005a3.68 3.68 0 0 1 2.865 5.99l.005-.007L17.187.993c.35-.121.752-.192 1.171-.193h.001zm0-.629h-.006c-.778 0-1.507.208-2.136.571l.021-.011l4.916 7.03A4.31 4.31 0 0 0 18.365.168h-.01h.001zm-2.862 2.007l4.049 5.791a3.68 3.68 0 0 1-4.044-5.798zm.08-.981a4.306 4.306 0 0 0 4.93 7.019l-.021.011z"/></svg>How to use the Pills icon
React
import { Icon } from "@iconify/react";
<Icon icon="fontisto:pills" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fontisto:pills" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fontisto:pills" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fontisto--pills]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fontisto -->
<div class="i-fontisto:pills"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fontisto:pills"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fontisto/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. Fontisto icons are released under the MIT 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="fontisto: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/fontisto/pills.svg" alt="Pills icon">, or paste the SVG code inline to style it with CSS.