softicons.dev

pill icon

Free pill SVG icon, MIT licensed. Copy the SVG, install for React/Vue/Angular, or download. Part of the Softicons interface set.

Setup guide
<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="m10.5 20.5 10-10a5 5 0 0 0-7-7l-10 10a5 5 0 0 0 7 7Z"/>
  <line x1="8.5" y1="8.5" x2="15.5" y2="15.5"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/interface/pill.svg"
     width="24" height="24" alt="pill icon">

<!-- …or paste the raw SVG from the SVG tab -->
import { PillIcon } from "@softicons/react";

export default function Example() {
  return <PillIcon size={24} strokeWidth={2} />;
}
<script setup>
import { PillIcon } from "@softicons/vue";
</script>

<template>
  <PillIcon :size="24" :stroke-width="2" />
</template>
import { PillIconComponent } from "@softicons/angular";

@Component({
  standalone: true,
  imports: [PillIconComponent],
  template: `<pill-icon [size]="24" [strokeWidth]="2" />`,
})
export class DemoComponent {}