Home Work
SaaS developmentAI developmentAPI developmentMobile app developmentGoogle Ads managementHeadless ShopifyLaravel developmentNext.js developmentReact developmentTypeScript engineeringUI/UX designSEO & AEOEcommerce development
AI solutionsB2B platformsE-commerceHospitalityLead generationLogisticsEducationProcess automationSaaS platformsStartup MVPReal estateHealthcare
LegalHealthcareReal estateFinanceHospitality
The HagueRotterdamAmsterdamUtrechtEindhovenAlmereBredaArnhemNijmegenTilburgEnschedeGroningenLeidenDelftZoetermeerDen Bosch
Studio
AboutProcessLabBlogContact

Play/pauze die morpht New

A play button whose triangle morphs smoothly into two pause bars and back: two halves with a four point clip-path polygon that CSS interpolates between both states. The accessible name follows along (Play/Pause) and the time really runs. For podcasts, audio tours, explainer videos and read-aloud buttons; with reduced motion the icon swaps instantly.

Zonnepanelen op een rijtjeshuis

De Bouwpodcast Utrecht, aflevering 14

12:4031:05

How to use it

  1. Paste the HTML where the buttons should appear.
  2. Add the CSS to your stylesheet. All classes are prefixed, so nothing clashes with your own styles.
  3. Add the JavaScript and call init() with the element that contains the HTML.
<!-- Play/pauze die morpht · NedDev · eigen werk. -->
<div class="jouw-container">
<div class="kpp">
<div class="kpp__card">
<div class="kpp__row">
<button class="kpp__btn" type="button" aria-label="Afspelen: Zonnepanelen op een rijtjeshuis"><span class="kpp__ic" aria-hidden="true"><span class="kpp__h kpp__h--l"></span><span class="kpp__h kpp__h--r"></span></span></button>
<div class="kpp__info">
<p class="kpp__title">Zonnepanelen op een rijtjeshuis</p>
<p class="kpp__sub">De Bouwpodcast Utrecht, aflevering 14</p>
</div>
</div>
<div class="kpp__track" aria-hidden="true"><span class="kpp__fill"></span></div>
<div class="kpp__time"><span class="kpp__now">12:40</span><span>31:05</span></div>
</div>
</div>
</div>

More buttons

Seen something you like?

Add it to your selection and send it over. We build your site around it, in your brand.

Get in touch →