App UI kits › Encore › Album

Album

The cover shrinks into the top bar as you scroll, the play button docks beside the title, the playing song shows live EQ bars and the whole page takes the cover colour.

Album 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: collapsing cover header, docking play button, live track list.

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.

Album props

PropTypeDefaultDescription
photosEncorePhotos
darkbooleanDark by default.
albumstring'afterglow'Album id. Default 'afterglow'.
autoplayboolean
onPlay(trackId: string) => void
onBack() => void

Methods on the ref

Use it in React

import EncoreAlbum from './EncoreAlbum';

<EncoreAlbum />

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

More in Encore

Good for: Music streaming app.