App UI kits › Encore › Queue

Queue

Up next as a stack you can hold and drag into a new order, swipe a song away (with undo), and an autoplay shelf of similar songs that slides in when the queue runs low.

Queue 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: drag to reorder, swipe to remove with undo, autoplay shelf.

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.

Queue props

PropTypeDefaultDescription
photosEncorePhotos
darkbooleanDark by default.
nowstringNow playing track id.
queuestring[]Up next, in order.
autoplayboolean
onChange(ids: string[]) => void

Methods on the ref

Use it in React

import EncoreQueue from './EncoreQueue';

<EncoreQueue />

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

More in Encore

Good for: Music streaming app.