Gentleface › Audio & video › play-pause
play-pause icon
play-pausePlay pause: play pause toggle, toggle playback. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated play-pause-toggle · line-round
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.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.3 s to 2.55 s. Examples and helper.
Code line-round
<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>
// 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: see /icons/play-pause.md
Svelte: see /icons/play-pause.md
HTML img: see /icons/play-pause.md
CSS: see /icons/play-pause.md
Data URL: see /icons/play-pause.md
Sprite: see /icons/play-pause.md
SwiftUI: see /icons/play-pause.md
Compose: see /icons/play-pause.md
Android XML: see /icons/play-pause.md
Flutter: see /icons/play-pause.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 { PlayPauseIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- play pause toggle, toggle playback
- Alternatives
play: separate play and pause buttons that swap
- Also fits
- play: one key that toggles play and pause (play-pause-toggle)
- Tags
- play-pause, play, pause, toggle, media-key, playback, media, triangle, bars
- Category
- Audio & video
- Component name
PlayPauseIcon- History
- 20 px drawn, 24 px drawn, added, released in 0.4.0
- Since
- version 0.4.0
Family 19
More audio & video icons
album ambient-sound aspect-ratio audio-lines audio-lines-off cassette clapperboard disc drum earbuds explicit explicit-off film film-info film-off guitar · all audio & video icons
For agents
Metadata: /icons/play-pause.json · Markdown: /icons/play-pause.md · SVG: https://gentleface.com/svg/{style}/16/play-pause.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/play-pause.png