Component packs › Groove › Playlist Reorder
Drag a track and it lifts and leans with your hand while the rest slide out of the way; the track you hold previews quietly until you drop it.
Playlist Reorder is a playlist from Groove, a component pack with 8 components: Audio components with real sound, made live in the browser. Price: $2 for the whole pack.
Built with: spring reorder, held preview, Alt + arrows.
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 |
|---|---|---|---|
tracks | PlaylistTrack[] | ||
onChange | (order: PlaylistTrack[]) => void | ||
theme | 'dark' | 'light' | ||
autoplay | boolean | Showcase mode: drags tracks into a new order and back until touched. |
readonly order: PlaylistTrack[]destroy(): voidimport PlaylistReorder from './PlaylistReorder';
<PlaylistReorder />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Audio player UI.