# prescription icon

Prescription. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/prescription

- Category: Health & medical
- Use it for: prescription, rx, prescriptions, e prescription
- Tags: prescription, rx, pharmacy, medicine, drug, doctor, recipe, medication
- Component name: PrescriptionIcon
- Added: 2026-10-15

## Alternatives

- `pill-bottle`: a pharmacy or a medicine bottle

## Also fits

- medical record: a prescription (rx)
- medication: a prescription (Rx)
- pharmacy: a prescription (Rx)

## 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/prescription.svg · PNG https://gentleface.com/png/line-round/16/prescription.png · https://gentleface.com/png/line-round/32/prescription.png · https://gentleface.com/png/line-round/48/prescription.png
- line-soft: https://gentleface.com/svg/line-soft/16/prescription.svg · PNG https://gentleface.com/png/line-soft/16/prescription.png · https://gentleface.com/png/line-soft/32/prescription.png · https://gentleface.com/png/line-soft/48/prescription.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/prescription.svg · PNG https://gentleface.com/png/line-sharp/16/prescription.png · https://gentleface.com/png/line-sharp/32/prescription.png · https://gentleface.com/png/line-sharp/48/prescription.png
- solid-round: https://gentleface.com/svg/solid-round/16/prescription.svg · PNG https://gentleface.com/png/solid-round/16/prescription.png · https://gentleface.com/png/solid-round/32/prescription.png · https://gentleface.com/png/solid-round/48/prescription.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/prescription.svg · PNG https://gentleface.com/png/solid-soft/16/prescription.png · https://gentleface.com/png/solid-soft/32/prescription.png · https://gentleface.com/png/solid-soft/48/prescription.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/prescription.svg · PNG https://gentleface.com/png/solid-sharp/16/prescription.png · https://gentleface.com/png/solid-sharp/32/prescription.png · https://gentleface.com/png/solid-sharp/48/prescription.png

The SVG of every style: https://gentleface.com/icons/prescription.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="M2.144 1.144C2.241 1.048 2.359 1 2.5 1L6.5 1C6.945 1 7.375 1.082 7.788 1.246C8.238 1.424 8.633 1.683 8.975 2.025C9.317 2.367 9.576 2.762 9.754 3.212C9.918 3.625 10 4.055 10 4.5C10 4.945 9.918 5.375 9.754 5.788C9.576 6.238 9.317 6.633 8.975 6.975C8.633 7.317 8.238 7.576 7.788 7.754C7.437 7.893 7.075 7.973 6.701 7.994L10.5 11.793L12.146 10.146C12.246 10.047 12.364 9.997 12.5 9.997C12.636 9.997 12.754 10.047 12.854 10.146C12.953 10.246 13.003 10.364 13.003 10.5C13.003 10.636 12.953 10.754 12.854 10.854L11.207 12.5L12.854 14.146C12.953 14.246 13.003 14.364 13.003 14.5C13.003 14.636 12.953 14.754 12.854 14.854C12.754 14.953 12.636 15.003 12.5 15.003C12.364 15.003 12.246 14.953 12.146 14.854L10.5 13.207L8.854 14.854C8.754 14.953 8.636 15.003 8.5 15.003C8.364 15.003 8.246 14.953 8.146 14.854C8.047 14.754 7.997 14.636 7.997 14.5C7.997 14.364 8.047 14.246 8.146 14.146L9.793 12.5L5.293 8L3 8L3 14.5C3 14.641 2.952 14.759 2.856 14.856C2.759 14.952 2.641 15 2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144ZM3 7L6.5 7C6.818 7 7.125 6.941 7.42 6.824C7.741 6.697 8.024 6.512 8.268 6.268C8.512 6.024 8.697 5.741 8.824 5.42C8.941 5.125 9 4.818 9 4.5C9 4.182 8.941 3.875 8.824 3.58C8.697 3.259 8.512 2.976 8.268 2.732C8.024 2.488 7.741 2.303 7.42 2.176C7.125 2.059 6.818 2 6.5 2L3 2L3 7Z"/></svg>
```

### React

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

export function PrescriptionIcon(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="M2.144 1.144C2.241 1.048 2.359 1 2.5 1L6.5 1C6.945 1 7.375 1.082 7.788 1.246C8.238 1.424 8.633 1.683 8.975 2.025C9.317 2.367 9.576 2.762 9.754 3.212C9.918 3.625 10 4.055 10 4.5C10 4.945 9.918 5.375 9.754 5.788C9.576 6.238 9.317 6.633 8.975 6.975C8.633 7.317 8.238 7.576 7.788 7.754C7.437 7.893 7.075 7.973 6.701 7.994L10.5 11.793L12.146 10.146C12.246 10.047 12.364 9.997 12.5 9.997C12.636 9.997 12.754 10.047 12.854 10.146C12.953 10.246 13.003 10.364 13.003 10.5C13.003 10.636 12.953 10.754 12.854 10.854L11.207 12.5L12.854 14.146C12.953 14.246 13.003 14.364 13.003 14.5C13.003 14.636 12.953 14.754 12.854 14.854C12.754 14.953 12.636 15.003 12.5 15.003C12.364 15.003 12.246 14.953 12.146 14.854L10.5 13.207L8.854 14.854C8.754 14.953 8.636 15.003 8.5 15.003C8.364 15.003 8.246 14.953 8.146 14.854C8.047 14.754 7.997 14.636 7.997 14.5C7.997 14.364 8.047 14.246 8.146 14.146L9.793 12.5L5.293 8L3 8L3 14.5C3 14.641 2.952 14.759 2.856 14.856C2.759 14.952 2.641 15 2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144ZM3 7L6.5 7C6.818 7 7.125 6.941 7.42 6.824C7.741 6.697 8.024 6.512 8.268 6.268C8.512 6.024 8.697 5.741 8.824 5.42C8.941 5.125 9 4.818 9 4.5C9 4.182 8.941 3.875 8.824 3.58C8.697 3.259 8.512 2.976 8.268 2.732C8.024 2.488 7.741 2.303 7.42 2.176C7.125 2.059 6.818 2 6.5 2L3 2L3 7Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "prescription" (line-round), MIT. https://gentleface.com/icons/prescription -->
<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="M2.144 1.144C2.241 1.048 2.359 1 2.5 1L6.5 1C6.945 1 7.375 1.082 7.788 1.246C8.238 1.424 8.633 1.683 8.975 2.025C9.317 2.367 9.576 2.762 9.754 3.212C9.918 3.625 10 4.055 10 4.5C10 4.945 9.918 5.375 9.754 5.788C9.576 6.238 9.317 6.633 8.975 6.975C8.633 7.317 8.238 7.576 7.788 7.754C7.437 7.893 7.075 7.973 6.701 7.994L10.5 11.793L12.146 10.146C12.246 10.047 12.364 9.997 12.5 9.997C12.636 9.997 12.754 10.047 12.854 10.146C12.953 10.246 13.003 10.364 13.003 10.5C13.003 10.636 12.953 10.754 12.854 10.854L11.207 12.5L12.854 14.146C12.953 14.246 13.003 14.364 13.003 14.5C13.003 14.636 12.953 14.754 12.854 14.854C12.754 14.953 12.636 15.003 12.5 15.003C12.364 15.003 12.246 14.953 12.146 14.854L10.5 13.207L8.854 14.854C8.754 14.953 8.636 15.003 8.5 15.003C8.364 15.003 8.246 14.953 8.146 14.854C8.047 14.754 7.997 14.636 7.997 14.5C7.997 14.364 8.047 14.246 8.146 14.146L9.793 12.5L5.293 8L3 8L3 14.5C3 14.641 2.952 14.759 2.856 14.856C2.759 14.952 2.641 15 2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144ZM3 7L6.5 7C6.818 7 7.125 6.941 7.42 6.824C7.741 6.697 8.024 6.512 8.268 6.268C8.512 6.024 8.697 5.741 8.824 5.42C8.941 5.125 9 4.818 9 4.5C9 4.182 8.941 3.875 8.824 3.58C8.697 3.259 8.512 2.976 8.268 2.732C8.024 2.488 7.741 2.303 7.42 2.176C7.125 2.059 6.818 2 6.5 2L3 2L3 7Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "prescription" (line-round), MIT. https://gentleface.com/icons/prescription -->
<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="M2.144 1.144C2.241 1.048 2.359 1 2.5 1L6.5 1C6.945 1 7.375 1.082 7.788 1.246C8.238 1.424 8.633 1.683 8.975 2.025C9.317 2.367 9.576 2.762 9.754 3.212C9.918 3.625 10 4.055 10 4.5C10 4.945 9.918 5.375 9.754 5.788C9.576 6.238 9.317 6.633 8.975 6.975C8.633 7.317 8.238 7.576 7.788 7.754C7.437 7.893 7.075 7.973 6.701 7.994L10.5 11.793L12.146 10.146C12.246 10.047 12.364 9.997 12.5 9.997C12.636 9.997 12.754 10.047 12.854 10.146C12.953 10.246 13.003 10.364 13.003 10.5C13.003 10.636 12.953 10.754 12.854 10.854L11.207 12.5L12.854 14.146C12.953 14.246 13.003 14.364 13.003 14.5C13.003 14.636 12.953 14.754 12.854 14.854C12.754 14.953 12.636 15.003 12.5 15.003C12.364 15.003 12.246 14.953 12.146 14.854L10.5 13.207L8.854 14.854C8.754 14.953 8.636 15.003 8.5 15.003C8.364 15.003 8.246 14.953 8.146 14.854C8.047 14.754 7.997 14.636 7.997 14.5C7.997 14.364 8.047 14.246 8.146 14.146L9.793 12.5L5.293 8L3 8L3 14.5C3 14.641 2.952 14.759 2.856 14.856C2.759 14.952 2.641 15 2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144ZM3 7L6.5 7C6.818 7 7.125 6.941 7.42 6.824C7.741 6.697 8.024 6.512 8.268 6.268C8.512 6.024 8.697 5.741 8.824 5.42C8.941 5.125 9 4.818 9 4.5C9 4.182 8.941 3.875 8.824 3.58C8.697 3.259 8.512 2.976 8.268 2.732C8.024 2.488 7.741 2.303 7.42 2.176C7.125 2.059 6.818 2 6.5 2L3 2L3 7Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "prescription" (line-round), MIT. https://gentleface.com/icons/prescription. 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/prescription.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "prescription" (line-round), MIT. https://gentleface.com/icons/prescription. Takes the text color. */
.icon-prescription {
  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='M2.144 1.144C2.241 1.048 2.359 1 2.5 1L6.5 1C6.945 1 7.375 1.082 7.788 1.246C8.238 1.424 8.633 1.683 8.975 2.025C9.317 2.367 9.576 2.762 9.754 3.212C9.918 3.625 10 4.055 10 4.5C10 4.945 9.918 5.375 9.754 5.788C9.576 6.238 9.317 6.633 8.975 6.975C8.633 7.317 8.238 7.576 7.788 7.754C7.437 7.893 7.075 7.973 6.701 7.994L10.5 11.793L12.146 10.146C12.246 10.047 12.364 9.997 12.5 9.997C12.636 9.997 12.754 10.047 12.854 10.146C12.953 10.246 13.003 10.364 13.003 10.5C13.003 10.636 12.953 10.754 12.854 10.854L11.207 12.5L12.854 14.146C12.953 14.246 13.003 14.364 13.003 14.5C13.003 14.636 12.953 14.754 12.854 14.854C12.754 14.953 12.636 15.003 12.5 15.003C12.364 15.003 12.246 14.953 12.146 14.854L10.5 13.207L8.854 14.854C8.754 14.953 8.636 15.003 8.5 15.003C8.364 15.003 8.246 14.953 8.146 14.854C8.047 14.754 7.997 14.636 7.997 14.5C7.997 14.364 8.047 14.246 8.146 14.146L9.793 12.5L5.293 8L3 8L3 14.5C3 14.641 2.952 14.759 2.856 14.856C2.759 14.952 2.641 15 2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144ZM3 7L6.5 7C6.818 7 7.125 6.941 7.42 6.824C7.741 6.697 8.024 6.512 8.268 6.268C8.512 6.024 8.697 5.741 8.824 5.42C8.941 5.125 9 4.818 9 4.5C9 4.182 8.941 3.875 8.824 3.58C8.697 3.259 8.512 2.976 8.268 2.732C8.024 2.488 7.741 2.303 7.42 2.176C7.125 2.059 6.818 2 6.5 2L3 2L3 7Z'/%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='M2.144 1.144C2.241 1.048 2.359 1 2.5 1L6.5 1C6.945 1 7.375 1.082 7.788 1.246C8.238 1.424 8.633 1.683 8.975 2.025C9.317 2.367 9.576 2.762 9.754 3.212C9.918 3.625 10 4.055 10 4.5C10 4.945 9.918 5.375 9.754 5.788C9.576 6.238 9.317 6.633 8.975 6.975C8.633 7.317 8.238 7.576 7.788 7.754C7.437 7.893 7.075 7.973 6.701 7.994L10.5 11.793L12.146 10.146C12.246 10.047 12.364 9.997 12.5 9.997C12.636 9.997 12.754 10.047 12.854 10.146C12.953 10.246 13.003 10.364 13.003 10.5C13.003 10.636 12.953 10.754 12.854 10.854L11.207 12.5L12.854 14.146C12.953 14.246 13.003 14.364 13.003 14.5C13.003 14.636 12.953 14.754 12.854 14.854C12.754 14.953 12.636 15.003 12.5 15.003C12.364 15.003 12.246 14.953 12.146 14.854L10.5 13.207L8.854 14.854C8.754 14.953 8.636 15.003 8.5 15.003C8.364 15.003 8.246 14.953 8.146 14.854C8.047 14.754 7.997 14.636 7.997 14.5C7.997 14.364 8.047 14.246 8.146 14.146L9.793 12.5L5.293 8L3 8L3 14.5C3 14.641 2.952 14.759 2.856 14.856C2.759 14.952 2.641 15 2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144ZM3 7L6.5 7C6.818 7 7.125 6.941 7.42 6.824C7.741 6.697 8.024 6.512 8.268 6.268C8.512 6.024 8.697 5.741 8.824 5.42C8.941 5.125 9 4.818 9 4.5C9 4.182 8.941 3.875 8.824 3.58C8.697 3.259 8.512 2.976 8.268 2.732C8.024 2.488 7.741 2.303 7.42 2.176C7.125 2.059 6.818 2 6.5 2L3 2L3 7Z'/%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='M2.144 1.144C2.241 1.048 2.359 1 2.5 1L6.5 1C6.945 1 7.375 1.082 7.788 1.246C8.238 1.424 8.633 1.683 8.975 2.025C9.317 2.367 9.576 2.762 9.754 3.212C9.918 3.625 10 4.055 10 4.5C10 4.945 9.918 5.375 9.754 5.788C9.576 6.238 9.317 6.633 8.975 6.975C8.633 7.317 8.238 7.576 7.788 7.754C7.437 7.893 7.075 7.973 6.701 7.994L10.5 11.793L12.146 10.146C12.246 10.047 12.364 9.997 12.5 9.997C12.636 9.997 12.754 10.047 12.854 10.146C12.953 10.246 13.003 10.364 13.003 10.5C13.003 10.636 12.953 10.754 12.854 10.854L11.207 12.5L12.854 14.146C12.953 14.246 13.003 14.364 13.003 14.5C13.003 14.636 12.953 14.754 12.854 14.854C12.754 14.953 12.636 15.003 12.5 15.003C12.364 15.003 12.246 14.953 12.146 14.854L10.5 13.207L8.854 14.854C8.754 14.953 8.636 15.003 8.5 15.003C8.364 15.003 8.246 14.953 8.146 14.854C8.047 14.754 7.997 14.636 7.997 14.5C7.997 14.364 8.047 14.246 8.146 14.146L9.793 12.5L5.293 8L3 8L3 14.5C3 14.641 2.952 14.759 2.856 14.856C2.759 14.952 2.641 15 2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144ZM3 7L6.5 7C6.818 7 7.125 6.941 7.42 6.824C7.741 6.697 8.024 6.512 8.268 6.268C8.512 6.024 8.697 5.741 8.824 5.42C8.941 5.125 9 4.818 9 4.5C9 4.182 8.941 3.875 8.824 3.58C8.697 3.259 8.512 2.976 8.268 2.732C8.024 2.488 7.741 2.303 7.42 2.176C7.125 2.059 6.818 2 6.5 2L3 2L3 7Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "prescription" (line-round), MIT. https://gentleface.com/icons/prescription
     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#prescription"/></svg>
```

### SwiftUI

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

struct PrescriptionIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 2.144, y: 1.144))
        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: 6.5, y: 1))
        p.addCurve(to: CGPoint(x: 7.788, y: 1.246), control1: CGPoint(x: 6.945, y: 1), control2: CGPoint(x: 7.375, y: 1.082))
        p.addCurve(to: CGPoint(x: 8.975, y: 2.025), control1: CGPoint(x: 8.238, y: 1.424), control2: CGPoint(x: 8.633, y: 1.683))
        p.addCurve(to: CGPoint(x: 9.754, y: 3.212), control1: CGPoint(x: 9.317, y: 2.367), control2: CGPoint(x: 9.576, y: 2.762))
        p.addCurve(to: CGPoint(x: 10, y: 4.5), control1: CGPoint(x: 9.918, y: 3.625), control2: CGPoint(x: 10, y: 4.055))
        p.addCurve(to: CGPoint(x: 9.754, y: 5.788), control1: CGPoint(x: 10, y: 4.945), control2: CGPoint(x: 9.918, y: 5.375))
        p.addCurve(to: CGPoint(x: 8.975, y: 6.975), control1: CGPoint(x: 9.576, y: 6.238), control2: CGPoint(x: 9.317, y: 6.633))
        p.addCurve(to: CGPoint(x: 7.788, y: 7.754), control1: CGPoint(x: 8.633, y: 7.317), control2: CGPoint(x: 8.238, y: 7.576))
        p.addCurve(to: CGPoint(x: 6.701, y: 7.994), control1: CGPoint(x: 7.437, y: 7.893), control2: CGPoint(x: 7.075, y: 7.973))
        p.addLine(to: CGPoint(x: 10.5, y: 11.793))
        p.addLine(to: CGPoint(x: 12.146, y: 10.146))
        p.addCurve(to: CGPoint(x: 12.5, y: 9.997), control1: CGPoint(x: 12.246, y: 10.047), control2: CGPoint(x: 12.364, y: 9.997))
        p.addCurve(to: CGPoint(x: 12.854, y: 10.146), control1: CGPoint(x: 12.636, y: 9.997), control2: CGPoint(x: 12.754, y: 10.047))
        p.addCurve(to: CGPoint(x: 13.003, y: 10.5), control1: CGPoint(x: 12.953, y: 10.246), control2: CGPoint(x: 13.003, y: 10.364))
        p.addCurve(to: CGPoint(x: 12.854, y: 10.854), control1: CGPoint(x: 13.003, y: 10.636), control2: CGPoint(x: 12.953, y: 10.754))
        p.addLine(to: CGPoint(x: 11.207, y: 12.5))
        p.addLine(to: CGPoint(x: 12.854, y: 14.146))
        p.addCurve(to: CGPoint(x: 13.003, y: 14.5), control1: CGPoint(x: 12.953, y: 14.246), control2: CGPoint(x: 13.003, y: 14.364))
        p.addCurve(to: CGPoint(x: 12.854, y: 14.854), control1: CGPoint(x: 13.003, y: 14.636), control2: CGPoint(x: 12.953, y: 14.754))
        p.addCurve(to: CGPoint(x: 12.5, y: 15.003), control1: CGPoint(x: 12.754, y: 14.953), control2: CGPoint(x: 12.636, y: 15.003))
        p.addCurve(to: CGPoint(x: 12.146, y: 14.854), control1: CGPoint(x: 12.364, y: 15.003), control2: CGPoint(x: 12.246, y: 14.953))
        p.addLine(to: CGPoint(x: 10.5, y: 13.207))
        p.addLine(to: CGPoint(x: 8.854, y: 14.854))
        p.addCurve(to: CGPoint(x: 8.5, y: 15.003), control1: CGPoint(x: 8.754, y: 14.953), control2: CGPoint(x: 8.636, y: 15.003))
        p.addCurve(to: CGPoint(x: 8.146, y: 14.854), control1: CGPoint(x: 8.364, y: 15.003), control2: CGPoint(x: 8.246, y: 14.953))
        p.addCurve(to: CGPoint(x: 7.997, y: 14.5), control1: CGPoint(x: 8.047, y: 14.754), control2: CGPoint(x: 7.997, y: 14.636))
        p.addCurve(to: CGPoint(x: 8.146, y: 14.146), control1: CGPoint(x: 7.997, y: 14.364), control2: CGPoint(x: 8.047, y: 14.246))
        p.addLine(to: CGPoint(x: 9.793, y: 12.5))
        p.addLine(to: CGPoint(x: 5.293, y: 8))
        p.addLine(to: CGPoint(x: 3, y: 8))
        p.addLine(to: CGPoint(x: 3, y: 14.5))
        p.addCurve(to: CGPoint(x: 2.856, y: 14.856), control1: CGPoint(x: 3, y: 14.641), control2: CGPoint(x: 2.952, y: 14.759))
        p.addCurve(to: CGPoint(x: 2.5, y: 15), control1: CGPoint(x: 2.759, y: 14.952), control2: CGPoint(x: 2.641, y: 15))
        p.addCurve(to: CGPoint(x: 2.144, y: 14.856), control1: CGPoint(x: 2.359, y: 15), control2: CGPoint(x: 2.241, y: 14.952))
        p.addCurve(to: CGPoint(x: 2, y: 14.5), control1: CGPoint(x: 2.048, y: 14.759), control2: CGPoint(x: 2, y: 14.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.closeSubpath()
        p.move(to: CGPoint(x: 3, y: 7))
        p.addLine(to: CGPoint(x: 6.5, y: 7))
        p.addCurve(to: CGPoint(x: 7.42, y: 6.824), control1: CGPoint(x: 6.818, y: 7), control2: CGPoint(x: 7.125, y: 6.941))
        p.addCurve(to: CGPoint(x: 8.268, y: 6.268), control1: CGPoint(x: 7.741, y: 6.697), control2: CGPoint(x: 8.024, y: 6.512))
        p.addCurve(to: CGPoint(x: 8.824, y: 5.42), control1: CGPoint(x: 8.512, y: 6.024), control2: CGPoint(x: 8.697, y: 5.741))
        p.addCurve(to: CGPoint(x: 9, y: 4.5), control1: CGPoint(x: 8.941, y: 5.125), control2: CGPoint(x: 9, y: 4.818))
        p.addCurve(to: CGPoint(x: 8.824, y: 3.58), control1: CGPoint(x: 9, y: 4.182), control2: CGPoint(x: 8.941, y: 3.875))
        p.addCurve(to: CGPoint(x: 8.268, y: 2.732), control1: CGPoint(x: 8.697, y: 3.259), control2: CGPoint(x: 8.512, y: 2.976))
        p.addCurve(to: CGPoint(x: 7.42, y: 2.176), control1: CGPoint(x: 8.024, y: 2.488), control2: CGPoint(x: 7.741, y: 2.303))
        p.addCurve(to: CGPoint(x: 6.5, y: 2), control1: CGPoint(x: 7.125, y: 2.059), control2: CGPoint(x: 6.818, y: 2))
        p.addLine(to: CGPoint(x: 3, y: 2))
        p.addLine(to: CGPoint(x: 3, y: 7))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "prescription" (line-round), MIT. https://gentleface.com/icons/prescription
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 PrescriptionIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "prescription", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M2.144 1.144C2.241 1.048 2.359 1 2.5 1L6.5 1C6.945 1 7.375 1.082 7.788 1.246C8.238 1.424 8.633 1.683 8.975 2.025C9.317 2.367 9.576 2.762 9.754 3.212C9.918 3.625 10 4.055 10 4.5C10 4.945 9.918 5.375 9.754 5.788C9.576 6.238 9.317 6.633 8.975 6.975C8.633 7.317 8.238 7.576 7.788 7.754C7.437 7.893 7.075 7.973 6.701 7.994L10.5 11.793L12.146 10.146C12.246 10.047 12.364 9.997 12.5 9.997C12.636 9.997 12.754 10.047 12.854 10.146C12.953 10.246 13.003 10.364 13.003 10.5C13.003 10.636 12.953 10.754 12.854 10.854L11.207 12.5L12.854 14.146C12.953 14.246 13.003 14.364 13.003 14.5C13.003 14.636 12.953 14.754 12.854 14.854C12.754 14.953 12.636 15.003 12.5 15.003C12.364 15.003 12.246 14.953 12.146 14.854L10.5 13.207L8.854 14.854C8.754 14.953 8.636 15.003 8.5 15.003C8.364 15.003 8.246 14.953 8.146 14.854C8.047 14.754 7.997 14.636 7.997 14.5C7.997 14.364 8.047 14.246 8.146 14.146L9.793 12.5L5.293 8L3 8L3 14.5C3 14.641 2.952 14.759 2.856 14.856C2.759 14.952 2.641 15 2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144ZM3 7L6.5 7C6.818 7 7.125 6.941 7.42 6.824C7.741 6.697 8.024 6.512 8.268 6.268C8.512 6.024 8.697 5.741 8.824 5.42C8.941 5.125 9 4.818 9 4.5C9 4.182 8.941 3.875 8.824 3.58C8.697 3.259 8.512 2.976 8.268 2.732C8.024 2.488 7.741 2.303 7.42 2.176C7.125 2.059 6.818 2 6.5 2L3 2L3 7Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_prescription.xml · Gentleface "prescription" (line-round), MIT. https://gentleface.com/icons/prescription -->
<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="M2.144 1.144C2.241 1.048 2.359 1 2.5 1L6.5 1C6.945 1 7.375 1.082 7.788 1.246C8.238 1.424 8.633 1.683 8.975 2.025C9.317 2.367 9.576 2.762 9.754 3.212C9.918 3.625 10 4.055 10 4.5C10 4.945 9.918 5.375 9.754 5.788C9.576 6.238 9.317 6.633 8.975 6.975C8.633 7.317 8.238 7.576 7.788 7.754C7.437 7.893 7.075 7.973 6.701 7.994L10.5 11.793L12.146 10.146C12.246 10.047 12.364 9.997 12.5 9.997C12.636 9.997 12.754 10.047 12.854 10.146C12.953 10.246 13.003 10.364 13.003 10.5C13.003 10.636 12.953 10.754 12.854 10.854L11.207 12.5L12.854 14.146C12.953 14.246 13.003 14.364 13.003 14.5C13.003 14.636 12.953 14.754 12.854 14.854C12.754 14.953 12.636 15.003 12.5 15.003C12.364 15.003 12.246 14.953 12.146 14.854L10.5 13.207L8.854 14.854C8.754 14.953 8.636 15.003 8.5 15.003C8.364 15.003 8.246 14.953 8.146 14.854C8.047 14.754 7.997 14.636 7.997 14.5C7.997 14.364 8.047 14.246 8.146 14.146L9.793 12.5L5.293 8L3 8L3 14.5C3 14.641 2.952 14.759 2.856 14.856C2.759 14.952 2.641 15 2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144ZM3 7L6.5 7C6.818 7 7.125 6.941 7.42 6.824C7.741 6.697 8.024 6.512 8.268 6.268C8.512 6.024 8.697 5.741 8.824 5.42C8.941 5.125 9 4.818 9 4.5C9 4.182 8.941 3.875 8.824 3.58C8.697 3.259 8.512 2.976 8.268 2.732C8.024 2.488 7.741 2.303 7.42 2.176C7.125 2.059 6.818 2 6.5 2L3 2L3 7Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(2.144, 1.144)
      ..cubicTo(2.241, 1.048, 2.359, 1, 2.5, 1)
      ..lineTo(6.5, 1)
      ..cubicTo(6.945, 1, 7.375, 1.082, 7.788, 1.246)
      ..cubicTo(8.238, 1.424, 8.633, 1.683, 8.975, 2.025)
      ..cubicTo(9.317, 2.367, 9.576, 2.762, 9.754, 3.212)
      ..cubicTo(9.918, 3.625, 10, 4.055, 10, 4.5)
      ..cubicTo(10, 4.945, 9.918, 5.375, 9.754, 5.788)
      ..cubicTo(9.576, 6.238, 9.317, 6.633, 8.975, 6.975)
      ..cubicTo(8.633, 7.317, 8.238, 7.576, 7.788, 7.754)
      ..cubicTo(7.437, 7.893, 7.075, 7.973, 6.701, 7.994)
      ..lineTo(10.5, 11.793)
      ..lineTo(12.146, 10.146)
      ..cubicTo(12.246, 10.047, 12.364, 9.997, 12.5, 9.997)
      ..cubicTo(12.636, 9.997, 12.754, 10.047, 12.854, 10.146)
      ..cubicTo(12.953, 10.246, 13.003, 10.364, 13.003, 10.5)
      ..cubicTo(13.003, 10.636, 12.953, 10.754, 12.854, 10.854)
      ..lineTo(11.207, 12.5)
      ..lineTo(12.854, 14.146)
      ..cubicTo(12.953, 14.246, 13.003, 14.364, 13.003, 14.5)
      ..cubicTo(13.003, 14.636, 12.953, 14.754, 12.854, 14.854)
      ..cubicTo(12.754, 14.953, 12.636, 15.003, 12.5, 15.003)
      ..cubicTo(12.364, 15.003, 12.246, 14.953, 12.146, 14.854)
      ..lineTo(10.5, 13.207)
      ..lineTo(8.854, 14.854)
      ..cubicTo(8.754, 14.953, 8.636, 15.003, 8.5, 15.003)
      ..cubicTo(8.364, 15.003, 8.246, 14.953, 8.146, 14.854)
      ..cubicTo(8.047, 14.754, 7.997, 14.636, 7.997, 14.5)
      ..cubicTo(7.997, 14.364, 8.047, 14.246, 8.146, 14.146)
      ..lineTo(9.793, 12.5)
      ..lineTo(5.293, 8)
      ..lineTo(3, 8)
      ..lineTo(3, 14.5)
      ..cubicTo(3, 14.641, 2.952, 14.759, 2.856, 14.856)
      ..cubicTo(2.759, 14.952, 2.641, 15, 2.5, 15)
      ..cubicTo(2.359, 15, 2.241, 14.952, 2.144, 14.856)
      ..cubicTo(2.048, 14.759, 2, 14.641, 2, 14.5)
      ..lineTo(2, 1.5)
      ..cubicTo(2, 1.359, 2.048, 1.241, 2.144, 1.144)
      ..close()
      ..moveTo(3, 7)
      ..lineTo(6.5, 7)
      ..cubicTo(6.818, 7, 7.125, 6.941, 7.42, 6.824)
      ..cubicTo(7.741, 6.697, 8.024, 6.512, 8.268, 6.268)
      ..cubicTo(8.512, 6.024, 8.697, 5.741, 8.824, 5.42)
      ..cubicTo(8.941, 5.125, 9, 4.818, 9, 4.5)
      ..cubicTo(9, 4.182, 8.941, 3.875, 8.824, 3.58)
      ..cubicTo(8.697, 3.259, 8.512, 2.976, 8.268, 2.732)
      ..cubicTo(8.024, 2.488, 7.741, 2.303, 7.42, 2.176)
      ..cubicTo(7.125, 2.059, 6.818, 2, 6.5, 2)
      ..lineTo(3, 2)
      ..lineTo(3, 7)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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