The Heroicons play pause icon depicts a triangle pointing right (play) and two vertical lines (pause), commonly used to control media playback.
Common uses
- Media player controls
- Audio recording start/stop
- Video playback toggle
Use it in React
Install
npm i @heroicons/reactImport & render
import { PlayPauseIcon } from '@heroicons/react/24/outline';
<PlayPauseIcon className="size-6" />Styles
Heroicons ships this icon in 4 styles — each its own import:
24/outline
<PlayPauseIcon className="size-6" />24/solid
<PlayPauseIcon className="size-6" />20/solid
<PlayPauseIcon className="size-6" />16/solid
<PlayPauseIcon className="size-6" />Details
- Library
- Heroicons (324 icons)
- License
- MIT
- viewBox
0 0 24 24- Keywords
- playpauseplay/pausemedia controlsstart stopplayback button
FAQ
- What is the play pause icon used for?
- It's used to indicate and control the action of starting or stopping media playback, such as in music players or video applications.
- How do I use the play pause icon in React?
- You can import and use it in your React application with the following statement: `import { PlayPauseIcon } from '@heroicons/react/24/outline'`.
- What is the license for Heroicons?
- Heroicons are distributed under the MIT license, allowing for free use in both open-source and commercial projects.
Related icons
The same idea in other libraries, and near matches in Heroicons.
Looking for something else? Search Heroicons and 4 more libraries by description →
The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →