# pill-bottle icon

Pill bottle. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/pill-bottle

- Category: Health & medical
- Use it for: pharmacy, medicine bottle, supplements, drugstore, chemist, local pharmacy, prescription bottle, vitamins, dietary supplements
- Tags: pill-bottle, pills, medicine, medication, prescription, pharmacy, vitamins, supplements, drug, bottle
- Component name: PillBottleIcon
- Added: 2026-10-16

## Alternatives

- `prescription`: a prescription (Rx)

## Also fits

- medication: a pharmacy or supplements
- prescription: a pharmacy or a medicine bottle

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/pill-bottle.svg · PNG https://gentleface.com/png/line-round/16/pill-bottle.png · https://gentleface.com/png/line-round/32/pill-bottle.png · https://gentleface.com/png/line-round/48/pill-bottle.png
- line-soft: https://gentleface.com/svg/line-soft/16/pill-bottle.svg · PNG https://gentleface.com/png/line-soft/16/pill-bottle.png · https://gentleface.com/png/line-soft/32/pill-bottle.png · https://gentleface.com/png/line-soft/48/pill-bottle.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/pill-bottle.svg · PNG https://gentleface.com/png/line-sharp/16/pill-bottle.png · https://gentleface.com/png/line-sharp/32/pill-bottle.png · https://gentleface.com/png/line-sharp/48/pill-bottle.png
- solid-round: https://gentleface.com/svg/solid-round/16/pill-bottle.svg · PNG https://gentleface.com/png/solid-round/16/pill-bottle.png · https://gentleface.com/png/solid-round/32/pill-bottle.png · https://gentleface.com/png/solid-round/48/pill-bottle.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/pill-bottle.svg · PNG https://gentleface.com/png/solid-soft/16/pill-bottle.png · https://gentleface.com/png/solid-soft/32/pill-bottle.png · https://gentleface.com/png/solid-soft/48/pill-bottle.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/pill-bottle.svg · PNG https://gentleface.com/png/solid-sharp/16/pill-bottle.png · https://gentleface.com/png/solid-sharp/32/pill-bottle.png · https://gentleface.com/png/solid-sharp/48/pill-bottle.png

The SVG of every style: https://gentleface.com/icons/pill-bottle.json (`svg`).

## Code (line-round)

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. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```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="M12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5L12 5L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 5L2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144ZM12 2L3 2L3 4L12 4L12 2ZM4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 5L4 5L4 13ZM9.856 9.144C9.952 9.241 10 9.359 10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10L8 10L8 11.5C8 11.641 7.952 11.759 7.856 11.856C7.759 11.952 7.641 12 7.5 12C7.359 12 7.241 11.952 7.144 11.856C7.048 11.759 7 11.641 7 11.5L7 10L5.5 10C5.359 10 5.241 9.952 5.144 9.856C5.048 9.759 5 9.641 5 9.5C5 9.359 5.048 9.241 5.144 9.144C5.241 9.048 5.359 9 5.5 9L7 9L7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7C7.641 7 7.759 7.048 7.856 7.144C7.952 7.241 8 7.359 8 7.5L8 9L9.5 9C9.641 9 9.759 9.048 9.856 9.144Z"/></svg>
```

### React

```tsx
// Gentleface "pill-bottle" (line-round), MIT. https://gentleface.com/icons/pill-bottle
import type { SVGProps } from 'react';

export function PillBottleIcon(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="M12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5L12 5L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 5L2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144ZM12 2L3 2L3 4L12 4L12 2ZM4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 5L4 5L4 13ZM9.856 9.144C9.952 9.241 10 9.359 10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10L8 10L8 11.5C8 11.641 7.952 11.759 7.856 11.856C7.759 11.952 7.641 12 7.5 12C7.359 12 7.241 11.952 7.144 11.856C7.048 11.759 7 11.641 7 11.5L7 10L5.5 10C5.359 10 5.241 9.952 5.144 9.856C5.048 9.759 5 9.641 5 9.5C5 9.359 5.048 9.241 5.144 9.144C5.241 9.048 5.359 9 5.5 9L7 9L7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7C7.641 7 7.759 7.048 7.856 7.144C7.952 7.241 8 7.359 8 7.5L8 9L9.5 9C9.641 9 9.759 9.048 9.856 9.144Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "pill-bottle" (line-round), MIT. https://gentleface.com/icons/pill-bottle -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5L12 5L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 5L2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144ZM12 2L3 2L3 4L12 4L12 2ZM4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 5L4 5L4 13ZM9.856 9.144C9.952 9.241 10 9.359 10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10L8 10L8 11.5C8 11.641 7.952 11.759 7.856 11.856C7.759 11.952 7.641 12 7.5 12C7.359 12 7.241 11.952 7.144 11.856C7.048 11.759 7 11.641 7 11.5L7 10L5.5 10C5.359 10 5.241 9.952 5.144 9.856C5.048 9.759 5 9.641 5 9.5C5 9.359 5.048 9.241 5.144 9.144C5.241 9.048 5.359 9 5.5 9L7 9L7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7C7.641 7 7.759 7.048 7.856 7.144C7.952 7.241 8 7.359 8 7.5L8 9L9.5 9C9.641 9 9.759 9.048 9.856 9.144Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "pill-bottle" (line-round), MIT. https://gentleface.com/icons/pill-bottle -->
<script>
  let props = $props();
</script>

<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="M12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5L12 5L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 5L2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144ZM12 2L3 2L3 4L12 4L12 2ZM4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 5L4 5L4 13ZM9.856 9.144C9.952 9.241 10 9.359 10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10L8 10L8 11.5C8 11.641 7.952 11.759 7.856 11.856C7.759 11.952 7.641 12 7.5 12C7.359 12 7.241 11.952 7.144 11.856C7.048 11.759 7 11.641 7 11.5L7 10L5.5 10C5.359 10 5.241 9.952 5.144 9.856C5.048 9.759 5 9.641 5 9.5C5 9.359 5.048 9.241 5.144 9.144C5.241 9.048 5.359 9 5.5 9L7 9L7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7C7.641 7 7.759 7.048 7.856 7.144C7.952 7.241 8 7.359 8 7.5L8 9L9.5 9C9.641 9 9.759 9.048 9.856 9.144Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "pill-bottle" (line-round), MIT. https://gentleface.com/icons/pill-bottle. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/pill-bottle.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "pill-bottle" (line-round), MIT. https://gentleface.com/icons/pill-bottle. Takes the text color. */
.icon-pill-bottle {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5L12 5L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 5L2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144ZM12 2L3 2L3 4L12 4L12 2ZM4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 5L4 5L4 13ZM9.856 9.144C9.952 9.241 10 9.359 10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10L8 10L8 11.5C8 11.641 7.952 11.759 7.856 11.856C7.759 11.952 7.641 12 7.5 12C7.359 12 7.241 11.952 7.144 11.856C7.048 11.759 7 11.641 7 11.5L7 10L5.5 10C5.359 10 5.241 9.952 5.144 9.856C5.048 9.759 5 9.641 5 9.5C5 9.359 5.048 9.241 5.144 9.144C5.241 9.048 5.359 9 5.5 9L7 9L7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7C7.641 7 7.759 7.048 7.856 7.144C7.952 7.241 8 7.359 8 7.5L8 9L9.5 9C9.641 9 9.759 9.048 9.856 9.144Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5L12 5L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 5L2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144ZM12 2L3 2L3 4L12 4L12 2ZM4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 5L4 5L4 13ZM9.856 9.144C9.952 9.241 10 9.359 10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10L8 10L8 11.5C8 11.641 7.952 11.759 7.856 11.856C7.759 11.952 7.641 12 7.5 12C7.359 12 7.241 11.952 7.144 11.856C7.048 11.759 7 11.641 7 11.5L7 10L5.5 10C5.359 10 5.241 9.952 5.144 9.856C5.048 9.759 5 9.641 5 9.5C5 9.359 5.048 9.241 5.144 9.144C5.241 9.048 5.359 9 5.5 9L7 9L7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7C7.641 7 7.759 7.048 7.856 7.144C7.952 7.241 8 7.359 8 7.5L8 9L9.5 9C9.641 9 9.759 9.048 9.856 9.144Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5L12 5L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 5L2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144ZM12 2L3 2L3 4L12 4L12 2ZM4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 5L4 5L4 13ZM9.856 9.144C9.952 9.241 10 9.359 10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10L8 10L8 11.5C8 11.641 7.952 11.759 7.856 11.856C7.759 11.952 7.641 12 7.5 12C7.359 12 7.241 11.952 7.144 11.856C7.048 11.759 7 11.641 7 11.5L7 10L5.5 10C5.359 10 5.241 9.952 5.144 9.856C5.048 9.759 5 9.641 5 9.5C5 9.359 5.048 9.241 5.144 9.144C5.241 9.048 5.359 9 5.5 9L7 9L7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7C7.641 7 7.759 7.048 7.856 7.144C7.952 7.241 8 7.359 8 7.5L8 9L9.5 9C9.641 9 9.759 9.048 9.856 9.144Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "pill-bottle" (line-round), MIT. https://gentleface.com/icons/pill-bottle
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#pill-bottle"/></svg>
```

### SwiftUI

```swift
// Gentleface "pill-bottle" (line-round), MIT. https://gentleface.com/icons/pill-bottle
import SwiftUI

struct PillBottleIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 12.856, y: 1.144))
        p.addCurve(to: CGPoint(x: 13, y: 1.5), control1: CGPoint(x: 12.952, y: 1.241), control2: CGPoint(x: 13, y: 1.359))
        p.addLine(to: CGPoint(x: 13, y: 4.5))
        p.addCurve(to: CGPoint(x: 12.856, y: 4.856), control1: CGPoint(x: 13, y: 4.641), control2: CGPoint(x: 12.952, y: 4.759))
        p.addCurve(to: CGPoint(x: 12.5, y: 5), control1: CGPoint(x: 12.759, y: 4.952), control2: CGPoint(x: 12.641, y: 5))
        p.addLine(to: CGPoint(x: 12, y: 5))
        p.addLine(to: CGPoint(x: 12, y: 13))
        p.addCurve(to: CGPoint(x: 11.86, y: 13.736), control1: CGPoint(x: 12, y: 13.254), control2: CGPoint(x: 11.953, y: 13.5))
        p.addCurve(to: CGPoint(x: 11.414, y: 14.414), control1: CGPoint(x: 11.758, y: 13.993), control2: CGPoint(x: 11.609, y: 14.219))
        p.addCurve(to: CGPoint(x: 10.736, y: 14.86), control1: CGPoint(x: 11.219, y: 14.609), control2: CGPoint(x: 10.993, y: 14.758))
        p.addCurve(to: CGPoint(x: 10, y: 15), control1: CGPoint(x: 10.5, y: 14.953), control2: CGPoint(x: 10.254, y: 15))
        p.addLine(to: CGPoint(x: 5, y: 15))
        p.addCurve(to: CGPoint(x: 4.264, y: 14.86), control1: CGPoint(x: 4.746, y: 15), control2: CGPoint(x: 4.5, y: 14.953))
        p.addCurve(to: CGPoint(x: 3.586, y: 14.414), control1: CGPoint(x: 4.007, y: 14.758), control2: CGPoint(x: 3.781, y: 14.609))
        p.addCurve(to: CGPoint(x: 3.14, y: 13.736), control1: CGPoint(x: 3.391, y: 14.219), control2: CGPoint(x: 3.242, y: 13.993))
        p.addCurve(to: CGPoint(x: 3, y: 13), control1: CGPoint(x: 3.047, y: 13.5), control2: CGPoint(x: 3, y: 13.254))
        p.addLine(to: CGPoint(x: 3, y: 5))
        p.addLine(to: CGPoint(x: 2.5, y: 5))
        p.addCurve(to: CGPoint(x: 2.144, y: 4.856), control1: CGPoint(x: 2.359, y: 5), control2: CGPoint(x: 2.241, y: 4.952))
        p.addCurve(to: CGPoint(x: 2, y: 4.5), control1: CGPoint(x: 2.048, y: 4.759), control2: CGPoint(x: 2, y: 4.641))
        p.addLine(to: CGPoint(x: 2, y: 1.5))
        p.addCurve(to: CGPoint(x: 2.144, y: 1.144), control1: CGPoint(x: 2, y: 1.359), control2: CGPoint(x: 2.048, y: 1.241))
        p.addCurve(to: CGPoint(x: 2.5, y: 1), control1: CGPoint(x: 2.241, y: 1.048), control2: CGPoint(x: 2.359, y: 1))
        p.addLine(to: CGPoint(x: 12.5, y: 1))
        p.addCurve(to: CGPoint(x: 12.856, y: 1.144), control1: CGPoint(x: 12.641, y: 1), control2: CGPoint(x: 12.759, y: 1.048))
        p.closeSubpath()
        p.move(to: CGPoint(x: 12, y: 2))
        p.addLine(to: CGPoint(x: 3, y: 2))
        p.addLine(to: CGPoint(x: 3, y: 4))
        p.addLine(to: CGPoint(x: 12, y: 4))
        p.addLine(to: CGPoint(x: 12, y: 2))
        p.closeSubpath()
        p.move(to: CGPoint(x: 4, y: 13))
        p.addCurve(to: CGPoint(x: 4.293, y: 13.707), control1: CGPoint(x: 4, y: 13.276), control2: CGPoint(x: 4.098, y: 13.512))
        p.addCurve(to: CGPoint(x: 5, y: 14), control1: CGPoint(x: 4.488, y: 13.902), control2: CGPoint(x: 4.724, y: 14))
        p.addLine(to: CGPoint(x: 10, y: 14))
        p.addCurve(to: CGPoint(x: 10.707, y: 13.707), control1: CGPoint(x: 10.276, y: 14), control2: CGPoint(x: 10.512, y: 13.902))
        p.addCurve(to: CGPoint(x: 11, y: 13), control1: CGPoint(x: 10.902, y: 13.512), control2: CGPoint(x: 11, y: 13.276))
        p.addLine(to: CGPoint(x: 11, y: 5))
        p.addLine(to: CGPoint(x: 4, y: 5))
        p.addLine(to: CGPoint(x: 4, y: 13))
        p.closeSubpath()
        p.move(to: CGPoint(x: 9.856, y: 9.144))
        p.addCurve(to: CGPoint(x: 10, y: 9.5), control1: CGPoint(x: 9.952, y: 9.241), control2: CGPoint(x: 10, y: 9.359))
        p.addCurve(to: CGPoint(x: 9.856, y: 9.856), control1: CGPoint(x: 10, y: 9.641), control2: CGPoint(x: 9.952, y: 9.759))
        p.addCurve(to: CGPoint(x: 9.5, y: 10), control1: CGPoint(x: 9.759, y: 9.952), control2: CGPoint(x: 9.641, y: 10))
        p.addLine(to: CGPoint(x: 8, y: 10))
        p.addLine(to: CGPoint(x: 8, y: 11.5))
        p.addCurve(to: CGPoint(x: 7.856, y: 11.856), control1: CGPoint(x: 8, y: 11.641), control2: CGPoint(x: 7.952, y: 11.759))
        p.addCurve(to: CGPoint(x: 7.5, y: 12), control1: CGPoint(x: 7.759, y: 11.952), control2: CGPoint(x: 7.641, y: 12))
        p.addCurve(to: CGPoint(x: 7.144, y: 11.856), control1: CGPoint(x: 7.359, y: 12), control2: CGPoint(x: 7.241, y: 11.952))
        p.addCurve(to: CGPoint(x: 7, y: 11.5), control1: CGPoint(x: 7.048, y: 11.759), control2: CGPoint(x: 7, y: 11.641))
        p.addLine(to: CGPoint(x: 7, y: 10))
        p.addLine(to: CGPoint(x: 5.5, y: 10))
        p.addCurve(to: CGPoint(x: 5.144, y: 9.856), control1: CGPoint(x: 5.359, y: 10), control2: CGPoint(x: 5.241, y: 9.952))
        p.addCurve(to: CGPoint(x: 5, y: 9.5), control1: CGPoint(x: 5.048, y: 9.759), control2: CGPoint(x: 5, y: 9.641))
        p.addCurve(to: CGPoint(x: 5.144, y: 9.144), control1: CGPoint(x: 5, y: 9.359), control2: CGPoint(x: 5.048, y: 9.241))
        p.addCurve(to: CGPoint(x: 5.5, y: 9), control1: CGPoint(x: 5.241, y: 9.048), control2: CGPoint(x: 5.359, y: 9))
        p.addLine(to: CGPoint(x: 7, y: 9))
        p.addLine(to: CGPoint(x: 7, y: 7.5))
        p.addCurve(to: CGPoint(x: 7.144, y: 7.144), control1: CGPoint(x: 7, y: 7.359), control2: CGPoint(x: 7.048, y: 7.241))
        p.addCurve(to: CGPoint(x: 7.5, y: 7), control1: CGPoint(x: 7.241, y: 7.048), control2: CGPoint(x: 7.359, y: 7))
        p.addCurve(to: CGPoint(x: 7.856, y: 7.144), control1: CGPoint(x: 7.641, y: 7), control2: CGPoint(x: 7.759, y: 7.048))
        p.addCurve(to: CGPoint(x: 8, y: 7.5), control1: CGPoint(x: 7.952, y: 7.241), control2: CGPoint(x: 8, y: 7.359))
        p.addLine(to: CGPoint(x: 8, y: 9))
        p.addLine(to: CGPoint(x: 9.5, y: 9))
        p.addCurve(to: CGPoint(x: 9.856, y: 9.144), control1: CGPoint(x: 9.641, y: 9), control2: CGPoint(x: 9.759, y: 9.048))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// PillBottleIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "pill-bottle" (line-round), MIT. https://gentleface.com/icons/pill-bottle
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val PillBottleIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "pill-bottle", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5L12 5L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 5L2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144ZM12 2L3 2L3 4L12 4L12 2ZM4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 5L4 5L4 13ZM9.856 9.144C9.952 9.241 10 9.359 10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10L8 10L8 11.5C8 11.641 7.952 11.759 7.856 11.856C7.759 11.952 7.641 12 7.5 12C7.359 12 7.241 11.952 7.144 11.856C7.048 11.759 7 11.641 7 11.5L7 10L5.5 10C5.359 10 5.241 9.952 5.144 9.856C5.048 9.759 5 9.641 5 9.5C5 9.359 5.048 9.241 5.144 9.144C5.241 9.048 5.359 9 5.5 9L7 9L7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7C7.641 7 7.759 7.048 7.856 7.144C7.952 7.241 8 7.359 8 7.5L8 9L9.5 9C9.641 9 9.759 9.048 9.856 9.144Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(PillBottleIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_pill_bottle.xml · Gentleface "pill-bottle" (line-round), MIT. https://gentleface.com/icons/pill-bottle -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5L12 5L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 5L2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144ZM12 2L3 2L3 4L12 4L12 2ZM4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 5L4 5L4 13ZM9.856 9.144C9.952 9.241 10 9.359 10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10L8 10L8 11.5C8 11.641 7.952 11.759 7.856 11.856C7.759 11.952 7.641 12 7.5 12C7.359 12 7.241 11.952 7.144 11.856C7.048 11.759 7 11.641 7 11.5L7 10L5.5 10C5.359 10 5.241 9.952 5.144 9.856C5.048 9.759 5 9.641 5 9.5C5 9.359 5.048 9.241 5.144 9.144C5.241 9.048 5.359 9 5.5 9L7 9L7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7C7.641 7 7.759 7.048 7.856 7.144C7.952 7.241 8 7.359 8 7.5L8 9L9.5 9C9.641 9 9.759 9.048 9.856 9.144Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "pill-bottle" (line-round), MIT. https://gentleface.com/icons/pill-bottle
import 'package:flutter/widgets.dart';

class PillBottleIcon extends StatelessWidget {
  const PillBottleIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _PillBottleIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _PillBottleIconPainter extends CustomPainter {
  _PillBottleIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(12.856, 1.144)
      ..cubicTo(12.952, 1.241, 13, 1.359, 13, 1.5)
      ..lineTo(13, 4.5)
      ..cubicTo(13, 4.641, 12.952, 4.759, 12.856, 4.856)
      ..cubicTo(12.759, 4.952, 12.641, 5, 12.5, 5)
      ..lineTo(12, 5)
      ..lineTo(12, 13)
      ..cubicTo(12, 13.254, 11.953, 13.5, 11.86, 13.736)
      ..cubicTo(11.758, 13.993, 11.609, 14.219, 11.414, 14.414)
      ..cubicTo(11.219, 14.609, 10.993, 14.758, 10.736, 14.86)
      ..cubicTo(10.5, 14.953, 10.254, 15, 10, 15)
      ..lineTo(5, 15)
      ..cubicTo(4.746, 15, 4.5, 14.953, 4.264, 14.86)
      ..cubicTo(4.007, 14.758, 3.781, 14.609, 3.586, 14.414)
      ..cubicTo(3.391, 14.219, 3.242, 13.993, 3.14, 13.736)
      ..cubicTo(3.047, 13.5, 3, 13.254, 3, 13)
      ..lineTo(3, 5)
      ..lineTo(2.5, 5)
      ..cubicTo(2.359, 5, 2.241, 4.952, 2.144, 4.856)
      ..cubicTo(2.048, 4.759, 2, 4.641, 2, 4.5)
      ..lineTo(2, 1.5)
      ..cubicTo(2, 1.359, 2.048, 1.241, 2.144, 1.144)
      ..cubicTo(2.241, 1.048, 2.359, 1, 2.5, 1)
      ..lineTo(12.5, 1)
      ..cubicTo(12.641, 1, 12.759, 1.048, 12.856, 1.144)
      ..close()
      ..moveTo(12, 2)
      ..lineTo(3, 2)
      ..lineTo(3, 4)
      ..lineTo(12, 4)
      ..lineTo(12, 2)
      ..close()
      ..moveTo(4, 13)
      ..cubicTo(4, 13.276, 4.098, 13.512, 4.293, 13.707)
      ..cubicTo(4.488, 13.902, 4.724, 14, 5, 14)
      ..lineTo(10, 14)
      ..cubicTo(10.276, 14, 10.512, 13.902, 10.707, 13.707)
      ..cubicTo(10.902, 13.512, 11, 13.276, 11, 13)
      ..lineTo(11, 5)
      ..lineTo(4, 5)
      ..lineTo(4, 13)
      ..close()
      ..moveTo(9.856, 9.144)
      ..cubicTo(9.952, 9.241, 10, 9.359, 10, 9.5)
      ..cubicTo(10, 9.641, 9.952, 9.759, 9.856, 9.856)
      ..cubicTo(9.759, 9.952, 9.641, 10, 9.5, 10)
      ..lineTo(8, 10)
      ..lineTo(8, 11.5)
      ..cubicTo(8, 11.641, 7.952, 11.759, 7.856, 11.856)
      ..cubicTo(7.759, 11.952, 7.641, 12, 7.5, 12)
      ..cubicTo(7.359, 12, 7.241, 11.952, 7.144, 11.856)
      ..cubicTo(7.048, 11.759, 7, 11.641, 7, 11.5)
      ..lineTo(7, 10)
      ..lineTo(5.5, 10)
      ..cubicTo(5.359, 10, 5.241, 9.952, 5.144, 9.856)
      ..cubicTo(5.048, 9.759, 5, 9.641, 5, 9.5)
      ..cubicTo(5, 9.359, 5.048, 9.241, 5.144, 9.144)
      ..cubicTo(5.241, 9.048, 5.359, 9, 5.5, 9)
      ..lineTo(7, 9)
      ..lineTo(7, 7.5)
      ..cubicTo(7, 7.359, 7.048, 7.241, 7.144, 7.144)
      ..cubicTo(7.241, 7.048, 7.359, 7, 7.5, 7)
      ..cubicTo(7.641, 7, 7.759, 7.048, 7.856, 7.144)
      ..cubicTo(7.952, 7.241, 8, 7.359, 8, 7.5)
      ..lineTo(8, 9)
      ..lineTo(9.5, 9)
      ..cubicTo(9.641, 9, 9.759, 9.048, 9.856, 9.144)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_PillBottleIconPainter old) => old.color != color;
}
```
