# play-pause icon

Play pause. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/play-pause

- Category: Audio & video
- Use it for: play pause toggle, toggle playback
- Tags: play-pause, play, pause, toggle, media-key, playback, media, triangle, bars
- Family: eject, fast-forward, pause, pause-circle, play, play-alert, play-check, play-circle, play-clock, play-gear, play-off, play-x, record, record-dot, rewind, skip-back, skip-forward, stop, stop-circle
- Component name: PlayPauseIcon
- Added: 2026-11-06
- Since: version 0.4.0
- npm: `import { PlayPauseIcon } from '@gentleface/react';` (@gentleface/react 0.6.0)

## Alternatives

- `play`: separate play and pause buttons that swap

## Also fits

- play: one key that toggles play and pause (play-pause-toggle)

## Files

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.

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

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

## Animated

`play-pause-toggle`: The triangle grows into a big play and pushes the bars out to the right. Play leaves to the left as the bars come back growing into a big pause, which then shrinks back into the two bars while the small triangle slides in.

File: https://gentleface.com/motion/play-pause-toggle.svg (line-round, 16 px). Native SVG animation that loops by itself. To play it once, run 0.3 s to 2.55 s. Patterns: https://gentleface.com/animated-icons.md

```svg
<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.001" stroke-linecap="round" stroke-linejoin="round"><path d="M2.5 3.5L8.5 7.5L2.5 11.5L2.5 3.5Z"><animate attributeName="d" dur="3.2s" repeatCount="indefinite" keyTimes="0;0.094;0.219;0.328;0.406;0.609;0.781;1" values="M2.5 3.5L8.5 7.5L2.5 11.5L2.5 3.5Z;M2.5 3.5L8.5 7.5L2.5 11.5L2.5 3.5Z;M3.5 1.5L13.5 7.5L3.5 13.5L3.5 1.5Z;M3.5 1.5L13.5 7.5L3.5 13.5L3.5 1.5Z;M-11.5 1.5L-1.5 7.5L-11.5 13.5L-11.5 1.5Z;M-8.5 3.5L-2.5 7.5L-8.5 11.5L-8.5 3.5Z;M2.5 3.5L8.5 7.5L2.5 11.5L2.5 3.5Z;M2.5 3.5L8.5 7.5L2.5 11.5L2.5 3.5Z" calcMode="spline" keySplines="0 0 1 1;.6 0 .25 1;0 0 1 1;.6 0 .9 .4;0 0 1 1;.15 .75 .25 1;0 0 1 1"/></path><path d="M11.5 7.5L11.5 3.5L11.5 3.5L11.5 11.5L11.5 11.5L11.5 7.5"><animate attributeName="d" dur="3.2s" repeatCount="indefinite" keyTimes="0;0.144;0.213;0.35;0.484;0.594;0.725;1" values="M11.5 7.5L11.5 3.5L11.5 3.5L11.5 11.5L11.5 11.5L11.5 7.5;M11.5 7.5L11.5 3.5L11.5 3.5L11.5 11.5L11.5 11.5L11.5 7.5;M18 7.5L18 3.5L18 3.5L18 11.5L18 11.5L18 7.5;M18 7.5L18 3.5L18 3.5L18 11.5L18 11.5L18 7.5;M5.5 7.5L5.5 2.5L2.5 2.5L2.5 12.5L5.5 12.5L5.5 7.5;M5.5 7.5L5.5 2.5L2.5 2.5L2.5 12.5L5.5 12.5L5.5 7.5;M11.5 7.5L11.5 3.5L11.5 3.5L11.5 11.5L11.5 11.5L11.5 7.5;M11.5 7.5L11.5 3.5L11.5 3.5L11.5 11.5L11.5 11.5L11.5 7.5" calcMode="spline" keySplines="0 0 1 1;0 0 1 1;0 0 1 1;.6 0 .25 1;0 0 1 1;.15 .75 .25 1;0 0 1 1"/></path><path d="M14.5 7.5L14.5 3.5L14.5 3.5L14.5 11.5L14.5 11.5L14.5 7.5"><animate attributeName="d" dur="3.2s" repeatCount="indefinite" keyTimes="0;0.144;0.213;0.363;0.497;0.594;0.725;1" values="M14.5 7.5L14.5 3.5L14.5 3.5L14.5 11.5L14.5 11.5L14.5 7.5;M14.5 7.5L14.5 3.5L14.5 3.5L14.5 11.5L14.5 11.5L14.5 7.5;M21 7.5L21 3.5L21 3.5L21 11.5L21 11.5L21 7.5;M21 7.5L21 3.5L21 3.5L21 11.5L21 11.5L21 7.5;M12.5 7.5L12.5 2.5L9.5 2.5L9.5 12.5L12.5 12.5L12.5 7.5;M12.5 7.5L12.5 2.5L9.5 2.5L9.5 12.5L12.5 12.5L12.5 7.5;M14.5 7.5L14.5 3.5L14.5 3.5L14.5 11.5L14.5 11.5L14.5 7.5;M14.5 7.5L14.5 3.5L14.5 3.5L14.5 11.5L14.5 11.5L14.5 7.5" calcMode="spline" keySplines="0 0 1 1;0 0 1 1;0 0 1 1;.6 0 .25 1;0 0 1 1;.15 .75 .25 1;0 0 1 1"/></path></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.777 11.916C2.662 11.993 2.537 12.017 2.402 11.99C2.267 11.963 2.161 11.892 2.084 11.777C2.028 11.693 2 11.601 2 11.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144C2.241 3.048 2.359 3 2.5 3C2.601 3 2.693 3.028 2.777 3.084L8.777 7.084C8.892 7.161 8.963 7.267 8.99 7.402C9.017 7.537 8.993 7.662 8.916 7.777C8.879 7.833 8.833 7.879 8.777 7.916L2.777 11.916ZM11.5 12C11.359 12 11.241 11.952 11.144 11.856C11.048 11.759 11 11.641 11 11.5L11 3.5C11 3.359 11.048 3.241 11.144 3.144C11.241 3.048 11.359 3 11.5 3C11.641 3 11.759 3.048 11.856 3.144C11.952 3.241 12 3.359 12 3.5L12 11.5C12 11.641 11.952 11.759 11.856 11.856C11.759 11.952 11.641 12 11.5 12ZM14.5 12C14.359 12 14.241 11.952 14.144 11.856C14.048 11.759 14 11.641 14 11.5L14 3.5C14 3.359 14.048 3.241 14.144 3.144C14.241 3.048 14.359 3 14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5L15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12ZM7.599 7.5L3 4.434L3 10.566L7.599 7.5Z"/></svg>
```

### React

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

export function PlayPauseIcon(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.777 11.916C2.662 11.993 2.537 12.017 2.402 11.99C2.267 11.963 2.161 11.892 2.084 11.777C2.028 11.693 2 11.601 2 11.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144C2.241 3.048 2.359 3 2.5 3C2.601 3 2.693 3.028 2.777 3.084L8.777 7.084C8.892 7.161 8.963 7.267 8.99 7.402C9.017 7.537 8.993 7.662 8.916 7.777C8.879 7.833 8.833 7.879 8.777 7.916L2.777 11.916ZM11.5 12C11.359 12 11.241 11.952 11.144 11.856C11.048 11.759 11 11.641 11 11.5L11 3.5C11 3.359 11.048 3.241 11.144 3.144C11.241 3.048 11.359 3 11.5 3C11.641 3 11.759 3.048 11.856 3.144C11.952 3.241 12 3.359 12 3.5L12 11.5C12 11.641 11.952 11.759 11.856 11.856C11.759 11.952 11.641 12 11.5 12ZM14.5 12C14.359 12 14.241 11.952 14.144 11.856C14.048 11.759 14 11.641 14 11.5L14 3.5C14 3.359 14.048 3.241 14.144 3.144C14.241 3.048 14.359 3 14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5L15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12ZM7.599 7.5L3 4.434L3 10.566L7.599 7.5Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "play-pause" (line-round), MIT. https://gentleface.com/icons/play-pause -->
<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.777 11.916C2.662 11.993 2.537 12.017 2.402 11.99C2.267 11.963 2.161 11.892 2.084 11.777C2.028 11.693 2 11.601 2 11.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144C2.241 3.048 2.359 3 2.5 3C2.601 3 2.693 3.028 2.777 3.084L8.777 7.084C8.892 7.161 8.963 7.267 8.99 7.402C9.017 7.537 8.993 7.662 8.916 7.777C8.879 7.833 8.833 7.879 8.777 7.916L2.777 11.916ZM11.5 12C11.359 12 11.241 11.952 11.144 11.856C11.048 11.759 11 11.641 11 11.5L11 3.5C11 3.359 11.048 3.241 11.144 3.144C11.241 3.048 11.359 3 11.5 3C11.641 3 11.759 3.048 11.856 3.144C11.952 3.241 12 3.359 12 3.5L12 11.5C12 11.641 11.952 11.759 11.856 11.856C11.759 11.952 11.641 12 11.5 12ZM14.5 12C14.359 12 14.241 11.952 14.144 11.856C14.048 11.759 14 11.641 14 11.5L14 3.5C14 3.359 14.048 3.241 14.144 3.144C14.241 3.048 14.359 3 14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5L15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12ZM7.599 7.5L3 4.434L3 10.566L7.599 7.5Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "play-pause" (line-round), MIT. https://gentleface.com/icons/play-pause -->
<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.777 11.916C2.662 11.993 2.537 12.017 2.402 11.99C2.267 11.963 2.161 11.892 2.084 11.777C2.028 11.693 2 11.601 2 11.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144C2.241 3.048 2.359 3 2.5 3C2.601 3 2.693 3.028 2.777 3.084L8.777 7.084C8.892 7.161 8.963 7.267 8.99 7.402C9.017 7.537 8.993 7.662 8.916 7.777C8.879 7.833 8.833 7.879 8.777 7.916L2.777 11.916ZM11.5 12C11.359 12 11.241 11.952 11.144 11.856C11.048 11.759 11 11.641 11 11.5L11 3.5C11 3.359 11.048 3.241 11.144 3.144C11.241 3.048 11.359 3 11.5 3C11.641 3 11.759 3.048 11.856 3.144C11.952 3.241 12 3.359 12 3.5L12 11.5C12 11.641 11.952 11.759 11.856 11.856C11.759 11.952 11.641 12 11.5 12ZM14.5 12C14.359 12 14.241 11.952 14.144 11.856C14.048 11.759 14 11.641 14 11.5L14 3.5C14 3.359 14.048 3.241 14.144 3.144C14.241 3.048 14.359 3 14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5L15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12ZM7.599 7.5L3 4.434L3 10.566L7.599 7.5Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "play-pause" (line-round), MIT. https://gentleface.com/icons/play-pause. Takes the text color. */
.icon-play-pause {
  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.777 11.916C2.662 11.993 2.537 12.017 2.402 11.99C2.267 11.963 2.161 11.892 2.084 11.777C2.028 11.693 2 11.601 2 11.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144C2.241 3.048 2.359 3 2.5 3C2.601 3 2.693 3.028 2.777 3.084L8.777 7.084C8.892 7.161 8.963 7.267 8.99 7.402C9.017 7.537 8.993 7.662 8.916 7.777C8.879 7.833 8.833 7.879 8.777 7.916L2.777 11.916ZM11.5 12C11.359 12 11.241 11.952 11.144 11.856C11.048 11.759 11 11.641 11 11.5L11 3.5C11 3.359 11.048 3.241 11.144 3.144C11.241 3.048 11.359 3 11.5 3C11.641 3 11.759 3.048 11.856 3.144C11.952 3.241 12 3.359 12 3.5L12 11.5C12 11.641 11.952 11.759 11.856 11.856C11.759 11.952 11.641 12 11.5 12ZM14.5 12C14.359 12 14.241 11.952 14.144 11.856C14.048 11.759 14 11.641 14 11.5L14 3.5C14 3.359 14.048 3.241 14.144 3.144C14.241 3.048 14.359 3 14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5L15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12ZM7.599 7.5L3 4.434L3 10.566L7.599 7.5Z'/%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.777 11.916C2.662 11.993 2.537 12.017 2.402 11.99C2.267 11.963 2.161 11.892 2.084 11.777C2.028 11.693 2 11.601 2 11.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144C2.241 3.048 2.359 3 2.5 3C2.601 3 2.693 3.028 2.777 3.084L8.777 7.084C8.892 7.161 8.963 7.267 8.99 7.402C9.017 7.537 8.993 7.662 8.916 7.777C8.879 7.833 8.833 7.879 8.777 7.916L2.777 11.916ZM11.5 12C11.359 12 11.241 11.952 11.144 11.856C11.048 11.759 11 11.641 11 11.5L11 3.5C11 3.359 11.048 3.241 11.144 3.144C11.241 3.048 11.359 3 11.5 3C11.641 3 11.759 3.048 11.856 3.144C11.952 3.241 12 3.359 12 3.5L12 11.5C12 11.641 11.952 11.759 11.856 11.856C11.759 11.952 11.641 12 11.5 12ZM14.5 12C14.359 12 14.241 11.952 14.144 11.856C14.048 11.759 14 11.641 14 11.5L14 3.5C14 3.359 14.048 3.241 14.144 3.144C14.241 3.048 14.359 3 14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5L15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12ZM7.599 7.5L3 4.434L3 10.566L7.599 7.5Z'/%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.777 11.916C2.662 11.993 2.537 12.017 2.402 11.99C2.267 11.963 2.161 11.892 2.084 11.777C2.028 11.693 2 11.601 2 11.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144C2.241 3.048 2.359 3 2.5 3C2.601 3 2.693 3.028 2.777 3.084L8.777 7.084C8.892 7.161 8.963 7.267 8.99 7.402C9.017 7.537 8.993 7.662 8.916 7.777C8.879 7.833 8.833 7.879 8.777 7.916L2.777 11.916ZM11.5 12C11.359 12 11.241 11.952 11.144 11.856C11.048 11.759 11 11.641 11 11.5L11 3.5C11 3.359 11.048 3.241 11.144 3.144C11.241 3.048 11.359 3 11.5 3C11.641 3 11.759 3.048 11.856 3.144C11.952 3.241 12 3.359 12 3.5L12 11.5C12 11.641 11.952 11.759 11.856 11.856C11.759 11.952 11.641 12 11.5 12ZM14.5 12C14.359 12 14.241 11.952 14.144 11.856C14.048 11.759 14 11.641 14 11.5L14 3.5C14 3.359 14.048 3.241 14.144 3.144C14.241 3.048 14.359 3 14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5L15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12ZM7.599 7.5L3 4.434L3 10.566L7.599 7.5Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct PlayPauseIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 2.777, y: 11.916))
        p.addCurve(to: CGPoint(x: 2.402, y: 11.99), control1: CGPoint(x: 2.662, y: 11.993), control2: CGPoint(x: 2.537, y: 12.017))
        p.addCurve(to: CGPoint(x: 2.084, y: 11.777), control1: CGPoint(x: 2.267, y: 11.963), control2: CGPoint(x: 2.161, y: 11.892))
        p.addCurve(to: CGPoint(x: 2, y: 11.5), control1: CGPoint(x: 2.028, y: 11.693), control2: CGPoint(x: 2, y: 11.601))
        p.addLine(to: CGPoint(x: 2, y: 3.5))
        p.addCurve(to: CGPoint(x: 2.144, y: 3.144), control1: CGPoint(x: 2, y: 3.359), control2: CGPoint(x: 2.048, y: 3.241))
        p.addCurve(to: CGPoint(x: 2.5, y: 3), control1: CGPoint(x: 2.241, y: 3.048), control2: CGPoint(x: 2.359, y: 3))
        p.addCurve(to: CGPoint(x: 2.777, y: 3.084), control1: CGPoint(x: 2.601, y: 3), control2: CGPoint(x: 2.693, y: 3.028))
        p.addLine(to: CGPoint(x: 8.777, y: 7.084))
        p.addCurve(to: CGPoint(x: 8.99, y: 7.402), control1: CGPoint(x: 8.892, y: 7.161), control2: CGPoint(x: 8.963, y: 7.267))
        p.addCurve(to: CGPoint(x: 8.916, y: 7.777), control1: CGPoint(x: 9.017, y: 7.537), control2: CGPoint(x: 8.993, y: 7.662))
        p.addCurve(to: CGPoint(x: 8.777, y: 7.916), control1: CGPoint(x: 8.879, y: 7.833), control2: CGPoint(x: 8.833, y: 7.879))
        p.addLine(to: CGPoint(x: 2.777, y: 11.916))
        p.closeSubpath()
        p.move(to: CGPoint(x: 11.5, y: 12))
        p.addCurve(to: CGPoint(x: 11.144, y: 11.856), control1: CGPoint(x: 11.359, y: 12), control2: CGPoint(x: 11.241, y: 11.952))
        p.addCurve(to: CGPoint(x: 11, y: 11.5), control1: CGPoint(x: 11.048, y: 11.759), control2: CGPoint(x: 11, y: 11.641))
        p.addLine(to: CGPoint(x: 11, y: 3.5))
        p.addCurve(to: CGPoint(x: 11.144, y: 3.144), control1: CGPoint(x: 11, y: 3.359), control2: CGPoint(x: 11.048, y: 3.241))
        p.addCurve(to: CGPoint(x: 11.5, y: 3), control1: CGPoint(x: 11.241, y: 3.048), control2: CGPoint(x: 11.359, y: 3))
        p.addCurve(to: CGPoint(x: 11.856, y: 3.144), control1: CGPoint(x: 11.641, y: 3), control2: CGPoint(x: 11.759, y: 3.048))
        p.addCurve(to: CGPoint(x: 12, y: 3.5), control1: CGPoint(x: 11.952, y: 3.241), control2: CGPoint(x: 12, y: 3.359))
        p.addLine(to: CGPoint(x: 12, y: 11.5))
        p.addCurve(to: CGPoint(x: 11.856, y: 11.856), control1: CGPoint(x: 12, y: 11.641), control2: CGPoint(x: 11.952, y: 11.759))
        p.addCurve(to: CGPoint(x: 11.5, y: 12), control1: CGPoint(x: 11.759, y: 11.952), control2: CGPoint(x: 11.641, y: 12))
        p.closeSubpath()
        p.move(to: CGPoint(x: 14.5, y: 12))
        p.addCurve(to: CGPoint(x: 14.144, y: 11.856), control1: CGPoint(x: 14.359, y: 12), control2: CGPoint(x: 14.241, y: 11.952))
        p.addCurve(to: CGPoint(x: 14, y: 11.5), control1: CGPoint(x: 14.048, y: 11.759), control2: CGPoint(x: 14, y: 11.641))
        p.addLine(to: CGPoint(x: 14, y: 3.5))
        p.addCurve(to: CGPoint(x: 14.144, y: 3.144), control1: CGPoint(x: 14, y: 3.359), control2: CGPoint(x: 14.048, y: 3.241))
        p.addCurve(to: CGPoint(x: 14.5, y: 3), control1: CGPoint(x: 14.241, y: 3.048), control2: CGPoint(x: 14.359, y: 3))
        p.addCurve(to: CGPoint(x: 14.856, y: 3.144), control1: CGPoint(x: 14.641, y: 3), control2: CGPoint(x: 14.759, y: 3.048))
        p.addCurve(to: CGPoint(x: 15, y: 3.5), control1: CGPoint(x: 14.952, y: 3.241), control2: CGPoint(x: 15, y: 3.359))
        p.addLine(to: CGPoint(x: 15, y: 11.5))
        p.addCurve(to: CGPoint(x: 14.856, y: 11.856), control1: CGPoint(x: 15, y: 11.641), control2: CGPoint(x: 14.952, y: 11.759))
        p.addCurve(to: CGPoint(x: 14.5, y: 12), control1: CGPoint(x: 14.759, y: 11.952), control2: CGPoint(x: 14.641, y: 12))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7.599, y: 7.5))
        p.addLine(to: CGPoint(x: 3, y: 4.434))
        p.addLine(to: CGPoint(x: 3, y: 10.566))
        p.addLine(to: CGPoint(x: 7.599, y: 7.5))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "play-pause" (line-round), MIT. https://gentleface.com/icons/play-pause
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 PlayPauseIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "play-pause", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M2.777 11.916C2.662 11.993 2.537 12.017 2.402 11.99C2.267 11.963 2.161 11.892 2.084 11.777C2.028 11.693 2 11.601 2 11.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144C2.241 3.048 2.359 3 2.5 3C2.601 3 2.693 3.028 2.777 3.084L8.777 7.084C8.892 7.161 8.963 7.267 8.99 7.402C9.017 7.537 8.993 7.662 8.916 7.777C8.879 7.833 8.833 7.879 8.777 7.916L2.777 11.916ZM11.5 12C11.359 12 11.241 11.952 11.144 11.856C11.048 11.759 11 11.641 11 11.5L11 3.5C11 3.359 11.048 3.241 11.144 3.144C11.241 3.048 11.359 3 11.5 3C11.641 3 11.759 3.048 11.856 3.144C11.952 3.241 12 3.359 12 3.5L12 11.5C12 11.641 11.952 11.759 11.856 11.856C11.759 11.952 11.641 12 11.5 12ZM14.5 12C14.359 12 14.241 11.952 14.144 11.856C14.048 11.759 14 11.641 14 11.5L14 3.5C14 3.359 14.048 3.241 14.144 3.144C14.241 3.048 14.359 3 14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5L15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12ZM7.599 7.5L3 4.434L3 10.566L7.599 7.5Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_play_pause.xml · Gentleface "play-pause" (line-round), MIT. https://gentleface.com/icons/play-pause -->
<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.777 11.916C2.662 11.993 2.537 12.017 2.402 11.99C2.267 11.963 2.161 11.892 2.084 11.777C2.028 11.693 2 11.601 2 11.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144C2.241 3.048 2.359 3 2.5 3C2.601 3 2.693 3.028 2.777 3.084L8.777 7.084C8.892 7.161 8.963 7.267 8.99 7.402C9.017 7.537 8.993 7.662 8.916 7.777C8.879 7.833 8.833 7.879 8.777 7.916L2.777 11.916ZM11.5 12C11.359 12 11.241 11.952 11.144 11.856C11.048 11.759 11 11.641 11 11.5L11 3.5C11 3.359 11.048 3.241 11.144 3.144C11.241 3.048 11.359 3 11.5 3C11.641 3 11.759 3.048 11.856 3.144C11.952 3.241 12 3.359 12 3.5L12 11.5C12 11.641 11.952 11.759 11.856 11.856C11.759 11.952 11.641 12 11.5 12ZM14.5 12C14.359 12 14.241 11.952 14.144 11.856C14.048 11.759 14 11.641 14 11.5L14 3.5C14 3.359 14.048 3.241 14.144 3.144C14.241 3.048 14.359 3 14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5L15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12ZM7.599 7.5L3 4.434L3 10.566L7.599 7.5Z"/>
</vector>
```

### Flutter

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

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

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

class _PlayPauseIconPainter extends CustomPainter {
  _PlayPauseIconPainter(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.777, 11.916)
      ..cubicTo(2.662, 11.993, 2.537, 12.017, 2.402, 11.99)
      ..cubicTo(2.267, 11.963, 2.161, 11.892, 2.084, 11.777)
      ..cubicTo(2.028, 11.693, 2, 11.601, 2, 11.5)
      ..lineTo(2, 3.5)
      ..cubicTo(2, 3.359, 2.048, 3.241, 2.144, 3.144)
      ..cubicTo(2.241, 3.048, 2.359, 3, 2.5, 3)
      ..cubicTo(2.601, 3, 2.693, 3.028, 2.777, 3.084)
      ..lineTo(8.777, 7.084)
      ..cubicTo(8.892, 7.161, 8.963, 7.267, 8.99, 7.402)
      ..cubicTo(9.017, 7.537, 8.993, 7.662, 8.916, 7.777)
      ..cubicTo(8.879, 7.833, 8.833, 7.879, 8.777, 7.916)
      ..lineTo(2.777, 11.916)
      ..close()
      ..moveTo(11.5, 12)
      ..cubicTo(11.359, 12, 11.241, 11.952, 11.144, 11.856)
      ..cubicTo(11.048, 11.759, 11, 11.641, 11, 11.5)
      ..lineTo(11, 3.5)
      ..cubicTo(11, 3.359, 11.048, 3.241, 11.144, 3.144)
      ..cubicTo(11.241, 3.048, 11.359, 3, 11.5, 3)
      ..cubicTo(11.641, 3, 11.759, 3.048, 11.856, 3.144)
      ..cubicTo(11.952, 3.241, 12, 3.359, 12, 3.5)
      ..lineTo(12, 11.5)
      ..cubicTo(12, 11.641, 11.952, 11.759, 11.856, 11.856)
      ..cubicTo(11.759, 11.952, 11.641, 12, 11.5, 12)
      ..close()
      ..moveTo(14.5, 12)
      ..cubicTo(14.359, 12, 14.241, 11.952, 14.144, 11.856)
      ..cubicTo(14.048, 11.759, 14, 11.641, 14, 11.5)
      ..lineTo(14, 3.5)
      ..cubicTo(14, 3.359, 14.048, 3.241, 14.144, 3.144)
      ..cubicTo(14.241, 3.048, 14.359, 3, 14.5, 3)
      ..cubicTo(14.641, 3, 14.759, 3.048, 14.856, 3.144)
      ..cubicTo(14.952, 3.241, 15, 3.359, 15, 3.5)
      ..lineTo(15, 11.5)
      ..cubicTo(15, 11.641, 14.952, 11.759, 14.856, 11.856)
      ..cubicTo(14.759, 11.952, 14.641, 12, 14.5, 12)
      ..close()
      ..moveTo(7.599, 7.5)
      ..lineTo(3, 4.434)
      ..lineTo(3, 10.566)
      ..lineTo(7.599, 7.5)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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