App UI kits › Encore › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
photos | EncorePhotos | ||
dark | boolean | Dark by default. | |
queue | string[] | Afterglow Season | Track ids to play, in order. Default: Afterglow Season. |
start | number | Starting position, 0..1 of the first track. | |
autoplay | boolean | ||
onTrack | (id: string) => void | ||
onOpenLyrics | () => void | ||
onOpenQueue | () => void |
play(): voidpause(): voidnext(): voidprev(): voidseek(p: number): voiddestroy(): voidimport EncorePlayer from './EncorePlayer';
<EncorePlayer />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Music streaming app.