heroicons + sidekickicons

Pill icon

pill

A capsule, for medicine, health, prescriptions and pharmacies.

Missing from Heroicons, where it was requested with 5 votes in #892 .

Component
PillIcon
Intended size
24×24 px, 1.5 px stroke
Iconset
Sidekickicons
Keywords
medicine, medication, capsule, drug, health, pharmacy, prescription, tablet, medical

Code

<svg xmlns="http://www.w3.org/2000/svg" stroke-width="1.5" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" fill="none" class="size-6">
  <path stroke-linecap="round" stroke-linejoin="round" d="m10.5 20.25 9.75-9.75a4.95 4.95 0 0 0-7-7L3.5 13.25a4.95 4.95 0 0 0 7 7ZM8.375 8.375l7 7" />
</svg>

Download

pill icon preview

Color

Default keeps currentColor in the SVG, so it takes the color of the text around it.

Size in pixels

Background

Pill icon in UI elements

Button · Mini

Secondary button · Mini

Icon buttons · Mini, and an Outline toggle that turns Solid

Input · Mini

Navigation · Outline

Prescription Prescription

Badges · Micro

History

  1. Added in Sidekickicons 0.20.0 .

Related icons

More Sidekickicons