App UI kits › Encore › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
photos | EncorePhotos | ||
dark | boolean | Dark by default. | |
album | string | 'afterglow' | Album id. Default 'afterglow'. |
autoplay | boolean | ||
onPlay | (trackId: string) => void | ||
onBack | () => void |
id: stringtitle: stringartist: stringcover: EncorePhotoKeyyear: numberkind: 'Album' | 'EP' | 'Single'tone: string: dominant colour of the cover, used for backgrounds and the mini playerimport EncoreAlbum from './EncoreAlbum';
<EncoreAlbum />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Music streaming app.