Skip to content
tablericons

general

Pill icon

Download the Pill icon as free SVG or PNG. Compare outline and filled styles. Copy React, Vue or Svelte code.

  • medicine
  • capsule
  • drug
  • pharmacy
  • medication
  • tablet
  • vitamin
  • health
Style
Size
Stroke
Color
Download SVG

Press C to copy SVG, J for JSX, D to download.

Category
general
Styles
Outline, filled
Component
IconPill
License
MIT · Paweł Kuna

Code

Copy it the way you use it

pill.svg
<svg
  xmlns="http://www.w3.org/2000/svg"
  width="24"
  height="24"
  viewBox="0 0 24 24"
  fill="none"
  stroke="currentColor"
  stroke-width="2"
  stroke-linecap="round"
  stroke-linejoin="round"
 
>
  <path d="M4.5 12.5l8 -8a4.94 4.94 0 0 1 7 7l-8 8a4.94 4.94 0 0 1 -7 -7" />
  <path d="M8.5 8.5l7 7" />
</svg>

Use the Pill icon

For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.

React example
import { IconPill } from '@tabler/icons-react';

<IconPill size={24} stroke={2} />
Read the React guide
Vue example
import { IconPill } from '@tabler/icons-vue';

<IconPill :size="24" :stroke="2" />
Read the Vue guide
Svelte 5 example
import { IconPill } from '@tabler/icons-svelte-runes';

<IconPill size={24} stroke={2} />
Read the Svelte guide

Compare variants and alternatives

Related

Related icons

See all 788 general icons