Pills icon
la:pills
The Pills icon (la:pills) is a free SVG icon from the Line Awesome set by Icons8. It is drawn on a 32 × 32 grid. Line Awesome 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
- Line Awesome
- Author
- Icons8
- License
- Apache-2.0
- Size
- 32 × 32
- Category
- Science
- Tags
- pill, pills solid
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M8.5 5A5.506 5.506 0 0 0 3 10.5v11C3 24.532 5.467 27 8.5 27s5.5-2.468 5.5-5.5v-11C14 7.468 11.533 5 8.5 5m0 2c1.93 0 3.5 1.57 3.5 3.5V15H5v-4.5C5 8.57 6.57 7 8.5 7m14 7a6.51 6.51 0 0 0-6.5 6.5c0 3.584 2.916 6.5 6.5 6.5s6.5-2.916 6.5-6.5s-2.916-6.5-6.5-6.5m0 2c2.481 0 4.5 2.019 4.5 4.5c0 .879-.262 1.693-.7 2.387l-6.187-6.188A4.46 4.46 0 0 1 22.5 16M5 17h7v4.5c0 1.93-1.57 3.5-3.5 3.5S5 23.43 5 21.5zm13.7 1.113l6.187 6.188A4.46 4.46 0 0 1 22.5 25a4.505 4.505 0 0 1-4.5-4.5c0-.879.262-1.693.7-2.387"/></svg>How to use the Pills icon
React
import { Icon } from "@iconify/react";
<Icon icon="la:pills" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="la:pills" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="la:pills" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[la--pills]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/la -->
<div class="i-la:pills"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="la:pills"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/la/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. Line Awesome 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="la: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/la/pills.svg" alt="Pills icon">, or paste the SVG code inline to style it with CSS.