Component packs › Fidget › Play Pause Icon

Play Pause Icon

The triangle splits at its seam into two plates that square up into pause bars, every corner on its own spring.

Play Pause Icon is an icon toggle from Fidget, a component pack with 10 animated icons: Animated icons with working parts: hinges, pendulums, springs and gravity. Price: $2 for the whole pack.

Built with: eight corner springs, seam split, jelly settle.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Play Pause Icon props

PropTypeDefaultDescription
playingbooleanfalse (play)Shows the pause bars. Default false (play).
disabledboolean
labels{ play: string; pause: string }Accessible names for both states.
sizenumberScale factor. 1 = 56 px button.
onChange(playing: boolean) => void
autoplaynumber | falseShowcase mode: toggles itself every N ms while visible.

Methods on the ref

Use it in React

import PlayPauseIcon from './PlayPauseIcon';

<PlayPauseIcon />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Fidget

Good for: Animated icons.