App UI kits › Encore › Now playing

Now playing

The player is a record whose grooves are drawn from the song itself: it turns at 33⅓, the tonearm tracks inward, you grab it to scratch through the song, and skipping slides the record out and drops the next one in.

Now playing is a screen from Encore, an app ui kit with 11 screens: A music streaming app where the player is a record drawn from the song. Price: $5 for the whole pack.

Built with: record drawn from the waveform, scratch to seek, record swap.

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.

Now playing props

PropTypeDefaultDescription
photosEncorePhotos
darkbooleanDark by default.
queuestring[]Afterglow SeasonTrack ids to play, in order. Default: Afterglow Season.
startnumberStarting position, 0..1 of the first track.
autoplayboolean
onTrack(id: string) => void
onOpenLyrics() => void
onOpenQueue() => void

Methods on the ref

Use it in React

import EncorePlayer from './EncorePlayer';

<EncorePlayer />

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

More in Encore

Good for: Music streaming app.