Component packs › Groove › Morph Player

Morph Player

Tap the mini player and the artwork, title and play button fly to the full player on one spring while the background takes the artwork’s colour.

Morph Player is a mini player from Groove, a component pack with 8 components: Audio components with real sound, made live in the browser. Price: $2 for the whole pack.

Built with: shared-element morph, artwork tint, swipe down.

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.

Morph Player props

PropTypeDefaultDescription
tracksMorphTrack[]
openboolean
theme'dark' | 'light'
autoplaybooleanShowcase mode: opens, skips and folds until touched.

Methods on the ref

Use it in React

import MorphPlayer from './MorphPlayer';

<MorphPlayer />

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

More in Groove

Good for: Audio player UI.