gentleface

Gentleface › Health & medical › pill-pencil

pill-pencil icon

Pill pencil: edit medication. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M5.854 11.854C5.557 12.15 5.194 12.376 4.765 12.532C4.366 12.677 3.944 12.75 3.5 12.75C3.056 12.75 2.634 12.677 2.235 12.532C1.806 12.376 1.443 12.15 1.146 11.854C0.85 11.557 0.624 11.194 0.468 10.765C0.323 10.366 0.25 9.944 0.25 9.5C0.25 9.056 0.323 8.634 0.468 8.235C0.624 7.806 0.85 7.443 1.146 7.146L7.146 1.146C7.443 0.85 7.806 0.624 8.235 0.468C8.634 0.323 9.056 0.25 9.5 0.25C9.944 0.25 10.366 0.323 10.765 0.468C11.194 0.624 11.557 0.85 11.854 1.146C12.15 1.443 12.376 1.806 12.532 2.235C12.677 2.634 12.75 3.056 12.75 3.5C12.75 3.944 12.677 4.366 12.532 4.765C12.376 5.194 12.15 5.557 11.854 5.854L5.854 11.854ZM11.146 5.146C11.338 4.955 11.487 4.713 11.593 4.423C11.698 4.134 11.75 3.827 11.75 3.5C11.75 3.173 11.698 2.866 11.593 2.577C11.487 2.287 11.338 2.045 11.146 1.854C10.955 1.662 10.714 1.513 10.423 1.407C10.134 1.302 9.827 1.25 9.5 1.25C9.173 1.25 8.866 1.302 8.577 1.407C8.287 1.513 8.045 1.662 7.854 1.854L5.207 4.5L8.5 7.793L11.146 5.146ZM7.793 8.5L4.5 5.207L1.854 7.854C1.662 8.045 1.513 8.286 1.407 8.577C1.302 8.866 1.25 9.173 1.25 9.5C1.25 9.827 1.302 10.134 1.407 10.423C1.513 10.713 1.662 10.955 1.854 11.146C2.045 11.338 2.287 11.487 2.577 11.593C2.866 11.698 3.173 11.75 3.5 11.75C3.827 11.75 4.134 11.698 4.423 11.593C4.714 11.487 4.955 11.338 5.146 11.146L7.793 8.5ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z"/></svg>
React
// Gentleface "pill-pencil" (line-round), MIT. https://gentleface.com/icons/pill-pencil
import type { SVGProps } from 'react';

export function PillPencilIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M5.854 11.854C5.557 12.15 5.194 12.376 4.765 12.532C4.366 12.677 3.944 12.75 3.5 12.75C3.056 12.75 2.634 12.677 2.235 12.532C1.806 12.376 1.443 12.15 1.146 11.854C0.85 11.557 0.624 11.194 0.468 10.765C0.323 10.366 0.25 9.944 0.25 9.5C0.25 9.056 0.323 8.634 0.468 8.235C0.624 7.806 0.85 7.443 1.146 7.146L7.146 1.146C7.443 0.85 7.806 0.624 8.235 0.468C8.634 0.323 9.056 0.25 9.5 0.25C9.944 0.25 10.366 0.323 10.765 0.468C11.194 0.624 11.557 0.85 11.854 1.146C12.15 1.443 12.376 1.806 12.532 2.235C12.677 2.634 12.75 3.056 12.75 3.5C12.75 3.944 12.677 4.366 12.532 4.765C12.376 5.194 12.15 5.557 11.854 5.854L5.854 11.854ZM11.146 5.146C11.338 4.955 11.487 4.713 11.593 4.423C11.698 4.134 11.75 3.827 11.75 3.5C11.75 3.173 11.698 2.866 11.593 2.577C11.487 2.287 11.338 2.045 11.146 1.854C10.955 1.662 10.714 1.513 10.423 1.407C10.134 1.302 9.827 1.25 9.5 1.25C9.173 1.25 8.866 1.302 8.577 1.407C8.287 1.513 8.045 1.662 7.854 1.854L5.207 4.5L8.5 7.793L11.146 5.146ZM7.793 8.5L4.5 5.207L1.854 7.854C1.662 8.045 1.513 8.286 1.407 8.577C1.302 8.866 1.25 9.173 1.25 9.5C1.25 9.827 1.302 10.134 1.407 10.423C1.513 10.713 1.662 10.955 1.854 11.146C2.045 11.338 2.287 11.487 2.577 11.593C2.866 11.698 3.173 11.75 3.5 11.75C3.827 11.75 4.134 11.698 4.423 11.593C4.714 11.487 4.955 11.338 5.146 11.146L7.793 8.5ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z" />
    </svg>
  );
}
Vue
Vue: see /icons/pill-pencil.md
Svelte
Svelte: see /icons/pill-pencil.md
HTML img
HTML img: see /icons/pill-pencil.md
CSS
CSS: see /icons/pill-pencil.md
Data URL
Data URL: see /icons/pill-pencil.md
Sprite
Sprite: see /icons/pill-pencil.md
SwiftUI
SwiftUI: see /icons/pill-pencil.md
Compose
Compose: see /icons/pill-pencil.md
Android XML
Android XML: see /icons/pill-pencil.md
Flutter
Flutter: see /icons/pill-pencil.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { PillPencilIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
edit medication
Example
Edit a medication entry
Built from
pill + pencil
Tags
pill, capsule, medicine, medication, drug, pharmacy, tablet, prescription, dose, pencil
Category
Health & medical
Component name
PillPencilIcon
History
  • added, released in 0.6.0
Since
version 0.6.0

Family 9

More health & medical icons

For agents

Metadata: /icons/pill-pencil.json · Markdown: /icons/pill-pencil.md · SVG: https://gentleface.com/svg/{style}/16/pill-pencil.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/pill-pencil.png